Skip to content

Commit

Permalink
Run tests against the latest versions
Browse files Browse the repository at this point in the history
Truly don't understand the point of "npm install": it's neither the
latest version, nor the locked ones. It's mystery meat.
  • Loading branch information
FiloSottile committed Jan 6, 2025
1 parent fc4add7 commit 626e7c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm update
- run: npm run build
- run: npm run lint
- run: npm run test
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: bun install
- run: bun update --no-save
- run: bun run build
- run: bun run test:short
- run: bun run examples:bun
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"scripts": {
"test": "vitest --run",
"test:short": "vitest --run --project node",
"examples:node": "cd tests/examples && npm install && npm run test:node",
"examples:bun": "cd tests/examples && bun install && bun run test:bun",
"examples:esbuild": "cd tests/examples && npm install && npm run test:esbuild",
"examples:node": "cd tests/examples && npm update && npm run test:node",
"examples:bun": "cd tests/examples && bun update --no-save && bun run test:bun",
"examples:esbuild": "cd tests/examples && npm update && npm run test:esbuild",
"bench": "vitest bench --run",
"lint": "eslint .",
"build": "tsc -p tsconfig.build.json",
Expand Down

0 comments on commit 626e7c3

Please sign in to comment.