Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Falx authored May 3, 2024
1 parent ecc23b1 commit e7b03e8
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
working-directory: .website
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
- run: npm ci
- run: npm run build:gh-pages
- run: rm -r ../docs/server
- run: rm ../docs/3rdpartylicenses.txt
- run: rm ../docs/prerendered-routes.json
- run: mv -r ../docs/browser/* ../docs/
- run: cp ../docs/index.html ../docs/404.html
- run: cd .website && npm ci
- run: cd .website && npm run build:gh-pages
- run: rm -r docs/server
- run: rm docs/3rdpartylicenses.txt
- run: rm docs/prerendered-routes.json
- run: mv -r docs/browser/* docs/
- run: cp docs/index.html docs/404.html

0 comments on commit e7b03e8

Please sign in to comment.