Skip to content

Commit 78b18ef

Browse files
authored
fix: make sure release works and test+build runs before tagging new version (#114)
1 parent 160ce25 commit 78b18ef

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ jobs:
1515
- uses: actions/checkout@v6
1616
- uses: actions/setup-node@v6
1717
with:
18-
node-version: 22
19-
registry-url: https://registry.npmjs.org/
20-
- run: npm install -g npm@latest
18+
node-version: 24
2119
- run: npm ci --ignore-scripts --no-audit --no-fund
20+
- run: npx playwright install chromium --only-shell
21+
- run: npm test -- --forbid-only
22+
- run: npm run build
2223
- name: Bump version in package.json
2324
run: |
2425
VERSION="${{ github.event.release.tag_name }}"
@@ -30,7 +31,4 @@ jobs:
3031
git add package.json package-lock.json
3132
git commit -m "chore: bump version to ${{ github.event.release.tag_name }}"
3233
git push origin HEAD:main
33-
- run: npx playwright install chromium --only-shell
34-
- run: npm test -- --forbid-only
35-
- run: npm run build
3634
- run: npm publish --access public

0 commit comments

Comments
 (0)