Skip to content

Commit

Permalink
ci: build first, then test
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKreil committed Jan 26, 2025
1 parent 59efe30 commit 584eb03
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,17 @@ jobs:
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm ci

- name: Run tests
- name: Run build
run: npm run build

- name: Run test
run: npm run test

- name: Build sprites
run: |
npm run build-sprites
cd release/sprites
tar -cf - * | gzip -9 > ../sprites.tar.gz
- name: Build styles
run: npm run build-styles

- name: Build lib
run: npm run build-browser

- name: Get version
run: 'echo "RELEASE_TAG=v$(jq -r ''.version'' package.json)" >> $GITHUB_ENV'

Expand Down

0 comments on commit 584eb03

Please sign in to comment.