Skip to content

Commit

Permalink
ci: Don't rebuild on CI test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shakeskeyboarde committed Dec 7, 2023
1 parent 6c5b4af commit b3854e2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,16 @@ jobs:

- name: Build
run: |
set -e
npm run build
npx @werk/cli publish --no-build --to-archive
- name: Test
run: npm test
run: |
set -e
npm run lint -- --max-warnings=0
npx @werk/cli depcheck
npx @werk/cli vitest run
- name: Publish
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,16 @@ jobs:

- name: Build
run: |
set -e
npm run build
npx @werk/cli publish --no-build --to-archive
- name: Test
run: npm test
run: |
set -e
npm run lint -- --max-warnings=0
npx @werk/cli depcheck
npx @werk/cli vitest run
- name: Publish (Dry Run)
run: npx @werk/cli publish --from-archive --dry-run

0 comments on commit b3854e2

Please sign in to comment.