Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
leonyu committed Sep 22, 2024
1 parent 3e81a01 commit 83f74e6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,16 @@ jobs:
node-version: "lts/*"
cache: "npm"

- name: npm install, lint, build, and test
- name: npm install, lint, and test
run: |
npm run test --if-present
npm run lint --if-present
- name: npm build
env:
NODE_ENV: production
run: |
npm ci
npm run build --if-present
npm run lint --if-present
npm run test --if-present
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand Down

0 comments on commit 83f74e6

Please sign in to comment.