Skip to content

Commit 6fd99d6

Browse files
committed
fix pages build, as npm 11 is incompatible with node 18
1 parent dbde4a3 commit 6fd99d6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/pages.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,22 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
- name: Setup Pages
27-
uses: actions/configure-pages@v3
28-
- uses: actions/setup-node@v3
27+
uses: actions/configure-pages@v5
28+
- uses: actions/setup-node@v4
2929
with:
3030
node-version-file: ".nvmrc"
3131
cache: npm
3232
cache-dependency-path: package.json
3333
- name: Upgrade npm
34-
run: npm install -g npm@latest
34+
run: npm install -g npm@10
3535
- name: Install dependencies
3636
run: npm install
3737
- name: Build docs
3838
run: npm run build-api-docs
3939
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v2
40+
uses: actions/upload-pages-artifact@v3
4141
with:
4242
path: ./docs
4343
deploy:
@@ -49,4 +49,4 @@ jobs:
4949
steps:
5050
- name: Deploy to GitHub Pages
5151
id: deployment
52-
uses: actions/deploy-pages@v2
52+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)