1212permissions :
1313 actions : read
1414 contents : read
15+ packages : write
1516
1617# Allow one concurrent deployment
1718concurrency :
@@ -28,28 +29,28 @@ jobs:
2829
2930 steps :
3031 - name : Checkout repository
31- uses : actions/checkout@v4
32+ uses : actions/checkout@v5
3233 with :
3334 fetch-depth : 0
3435
3536 - name : Set up Node.js
36- uses : actions/setup-node@v4
37+ uses : actions/setup-node@v6
3738 with :
38- node-version : 24
39+ node-version : 22
3940 cache : npm
4041 cache-dependency-path : package-lock.json
4142
4243 - name : Upgrade npm
4344 run : |
4445 corepack enable
45- npm install -g [email protected] .0 46+ npm install -g [email protected] .2 4647
4748 - name : Install Node.js dependencies
4849 run : npm ci
4950
5051 # Ensure MkDocs builds successfully
5152 - name : Set up Python
52- uses : actions/setup-python@v5
53+ uses : actions/setup-python@v6
5354 with :
5455 python-version : ' 3.13'
5556
6970 run : git archive --format=tar.gz --output=clean-source.tar.gz HEAD
7071
7172 - name : Upload source archive
72- uses : actions/upload-artifact@v4
73+ uses : actions/upload-artifact@v5
7374 with :
7475 name : clean-source
7576 path : clean-source.tar.gz
8081
8182 steps :
8283 - name : Download clean source archive
83- uses : actions/download-artifact@v4
84+ uses : actions/download-artifact@v5
8485 with :
8586 name : clean-source
8687 path : ./
9293 run : rm clean-source.tar.gz
9394
9495 - name : Set up Node.js for npmjs
95- uses : actions/setup-node@v4
96+ uses : actions/setup-node@v6
9697 with :
97- node-version : 24
98+ node-version : 22
9899 registry-url : https://registry.npmjs.org/
99100 cache : npm
100101
@@ -107,7 +108,7 @@ jobs:
107108 - name : Upgrade npm
108109 run : |
109110 corepack enable
110- npm install -g [email protected] .0 111+ npm install -g [email protected] .2 111112
112113 - name : Install Node.js dependencies
113114 run : npm ci
@@ -128,7 +129,7 @@ jobs:
128129
129130 steps :
130131 - name : Download clean source archive
131- uses : actions/download-artifact@v4
132+ uses : actions/download-artifact@v5
132133 with :
133134 name : clean-source
134135 path : ./
@@ -140,9 +141,9 @@ jobs:
140141 run : rm clean-source.tar.gz
141142
142143 - name : Set up Node.js for GPR
143- uses : actions/setup-node@v4
144+ uses : actions/setup-node@v6
144145 with :
145- node-version : 24
146+ node-version : 22
146147 registry-url : https://npm.pkg.github.com/
147148 cache : npm
148149
@@ -155,7 +156,7 @@ jobs:
155156 - name : Upgrade npm
156157 run : |
157158 corepack enable
158- npm install -g [email protected] .0 159+ npm install -g [email protected] .2 159160
160161 - name : Install Node.js dependencies
161162 run : npm ci
@@ -172,4 +173,4 @@ jobs:
172173 - name : Publish package to GPR
173174 run : npm publish --dry-run
174175 env :
175- NODE_AUTH_TOKEN : ${{ secrets.NWPRO_GPR }}
176+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments