Skip to content

Commit 4f6087c

Browse files
authored
chore: update dependencies + fix release script (#145)
* chore: update dependencies * fix release process: run test+build before version bump
1 parent 7d4213c commit 4f6087c

3 files changed

Lines changed: 27 additions & 28 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

package-lock.json

Lines changed: 19 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@
3939
"check": "tsc --noEmit"
4040
},
4141
"dependencies": {
42-
"@projectwallace/css-analyzer": "^9.6.0"
42+
"@projectwallace/css-analyzer": "^9.6.2"
4343
},
4444
"devDependencies": {
4545
"@types/node": "^22.0.0",
46-
"@vitest/coverage-v8": "^4.1.0",
46+
"@vitest/coverage-v8": "^4.1.2",
4747
"oxfmt": "^0.43.0",
4848
"oxlint": "^1.58.0",
4949
"publint": "^0.3.18",
50-
"tsdown": "^0.21.4",
50+
"tsdown": "^0.21.7",
5151
"typescript": "^6.0.2",
52-
"vitest": "^4.1.0"
52+
"vitest": "^4.1.2"
5353
},
5454
"engines": {
5555
"node": ">=20.12.0"

0 commit comments

Comments
 (0)