@@ -17,12 +17,12 @@ jobs:
1717
1818 steps :
1919 - name : Checkout repository
20- uses : actions/checkout@v4
20+ uses : actions/checkout@v6
2121
2222 - name : Set up Node.js
23- uses : actions/setup-node@v4
23+ uses : actions/setup-node@v6
2424 with :
25- node-version : ' 20 .x'
25+ node-version : ' 24 .x'
2626
2727 - name : Install dependencies
2828 run : npm install --only=prod
@@ -59,7 +59,7 @@ You need to set up these two steps:
5959` ` ` yml
6060steps:
6161 - name: Checkout repository
62- uses: actions/checkout@v4
62+ uses: actions/checkout@v6
6363 with:
6464 ref: main
6565
@@ -90,7 +90,7 @@ In this example, I'll assume your secret is called `NPM_TOKEN`:
9090` ` ` yml
9191- name: Set up Node.js for NPM
9292 if: steps.check.outputs.changed == 'true'
93- uses: actions/setup-node@v1
93+ uses: actions/setup-node@v6
9494 with:
9595 registry-url: 'https://registry.npmjs.org' # This is just the default registry URL
9696
@@ -141,7 +141,7 @@ fs.writeFileSync(join(__dirname, '../package.json'), JSON.stringify(pkg))
141141` ` ` yml
142142- name: Set up Node.js for GPR
143143 if: steps.check.outputs.changed == 'true'
144- uses: actions/setup-node@v1
144+ uses: actions/setup-node@v6
145145 with:
146146 registry-url: 'https://npm.pkg.github.com/'
147147 scope: '@yourscope'
0 commit comments