Skip to content

Commit db452c2

Browse files
authored
Fix install dependencies in github-pages.yml workflow (SchemaStore#4745)
1 parent 1fb3473 commit db452c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/github-pages.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ jobs:
2525
runs-on: 'ubuntu-latest'
2626
steps:
2727
- uses: 'actions/checkout@v4'
28+
- uses: 'actions/setup-node@v4'
29+
with:
30+
node-version: '18'
31+
cache: 'npm'
32+
cache-dependency-path: './package-lock.json'
33+
- run: 'npm clean-install'
2834
- run: 'node ./cli.js build-website'
2935
- uses: 'actions/configure-pages@v5'
3036
- uses: 'actions/upload-pages-artifact@v3'

0 commit comments

Comments
 (0)