Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Node.js 16 actions deprecated" - warnings #101

Open
SuneRadich opened this issue Apr 9, 2024 · 1 comment · May be fixed by #100
Open

"Node.js 16 actions deprecated" - warnings #101

SuneRadich opened this issue Apr 9, 2024 · 1 comment · May be fixed by #100

Comments

@SuneRadich
Copy link

I am seeing this message on my builds, running the 0.14.0 version of the workflow.

outdated-actions

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/nx-cloud-main.yml@v0.14.0
    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/nx-cloud-agents.yml@v0.14.0
    with:
      number-of-agents: 3
@asgerjensen
Copy link

#100 should deal with that

@mandarini mandarini linked a pull request May 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants