Skip to content

Commit

Permalink
Update static.yml; add npm build
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyuan01 authored Jun 4, 2024
1 parent ab0f027 commit 5600e75
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run build --if-present
- run: npm test
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
Expand Down

0 comments on commit 5600e75

Please sign in to comment.