1
0
mirror of synced 2025-12-19 09:57:42 -05:00

Update Actions references from node-version 16 to 20 (#54403)

This commit is contained in:
Anthony Zavala
2025-02-14 01:02:57 -08:00
committed by GitHub
parent 9e3b30fea6
commit 974fe8faa2
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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