Skip to content

Commit c29283e

Browse files
authored
fix: run build + test before tagging and releasing (#66)
1 parent b9a274c commit c29283e

2 files changed

Lines changed: 10 additions & 445 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ 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
21-
- run: npm install --ignore-scripts --no-audit --no-fund
18+
node-version: 24
19+
- run: npm ci --ignore-scripts --no-audit --no-fund
20+
- run: npm test
21+
- run: npm run build
2222
- name: Bump version from release tag
2323
run: |
2424
VERSION=${GITHUB_REF_NAME#v}
@@ -28,6 +28,4 @@ jobs:
2828
git add package.json package-lock.json
2929
git commit -m "chore: bump version to $VERSION"
3030
git push origin HEAD:${{ github.event.repository.default_branch }}
31-
- run: npm test
32-
- run: npm run build
3331
- run: npm publish --access public

0 commit comments

Comments
 (0)