diff --git a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions.md b/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions.md index 8c31324f2b..50c5475fdf 100644 --- a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions.md +++ b/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions.md @@ -190,7 +190,7 @@ pipeline { agent { label "${PLATFORM}" } stages { stage('test') { - tools { nodejs "node-16" } + tools { nodejs "node-20" } steps { dir("scripts/myapp") { sh(script: "npm install -g bats") @@ -222,7 +222,7 @@ jobs: - uses: {% data reusables.actions.action-checkout %} - uses: {% data reusables.actions.action-setup-node %} with: - node-version: 16 + node-version: 20 - run: npm install -g bats - run: bats tests working-directory: ./scripts/myapp diff --git a/content/packages/quickstart.md b/content/packages/quickstart.md index 04203ea3ba..5319914dee 100644 --- a/content/packages/quickstart.md +++ b/content/packages/quickstart.md @@ -74,7 +74,7 @@ If you use a {% data variables.enterprise.prodname_managed_user %}, you cannot p - uses: {% data reusables.actions.action-checkout %} - uses: {% data reusables.actions.action-setup-node %} with: - node-version: 16 + node-version: 20 - run: npm ci - run: npm test @@ -88,7 +88,7 @@ If you use a {% data variables.enterprise.prodname_managed_user %}, you cannot p - uses: {% data reusables.actions.action-checkout %} - uses: {% data reusables.actions.action-setup-node %} with: - node-version: 16 + node-version: 20 registry-url: {% ifversion ghes %}https://npm.YOUR-HOSTNAME.com/{% else %}https://npm.pkg.github.com/{% endif %} - run: npm ci - run: npm publish