ci
ci copied to clipboard
"Node.js 16 actions deprecated" - warnings
I am seeing this message on my builds, running the 0.14.0 version of the workflow.
I am guessing that some of the inner workings of the workflow needs updating?
This is the github workflow file I am using
name: Pull Request to develop
on:
workflow_dispatch:
pull_request:
branches:
- 'develop'
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
jobs:
main:
name: Nx Cloud - Main Job
uses: nrwl/ci/.github/workflows/[email protected]
with:
# NOTE: Here we are using the special `nx-cloud record` command to ensure that any commands we run that do not go through the cloud task runner natively
# (i.e. anything that starts with `nx run`/`nx run-many`/`nx affected --target`), are still captured in the Nx Cloud UI and Github App comment for
# easier troubleshooting. See more here: https://nx.dev/nx-cloud/set-up/record-commands#recording-non-nx-commands
parallel-commands: |
npx nx-cloud record -- npx nx format:check
parallel-commands-on-agents: |
npx nx affected -t lint --base=origin/develop --parallel=3
npx nx affected -t test --base=origin/develop --parallel=3
npx nx affected -t build --base=origin/develop --parallel=3
npx nx affected -t e2e --base=origin/develop --parallel=1
main-branch-name: 'develop'
node-version: '18'
agents:
name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/[email protected]
with:
number-of-agents: 3
https://github.com/nrwl/ci/pull/100 should deal with that