Reputation: 11
I'm currently setting up a simple CI pipeline for a project on Github but I've run into a problem. When I run a Selene Lint check, my code does get successfully integrated but I get this warning:
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Please update the following actions to use Node.js 16: Roblox/setup-foreman@v1
Here is my ci.yaml
:
name: CI Pipeline
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Selene Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: Roblox/setup-foreman@v1
name: Install Foreman
with:
version: "^1.0.0"
token: ${{ SECRETS.GITHUB_TOKEN }}
- name: Selene Lint
run: |
selene ./src
Does anyone know how I can set up Foreman using Node.js 16?
Unfortunately, this is my first time setting up a CI Pipeline so I am not to familiar with how to approach this issue.
Upvotes: 1
Views: 338