diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 861983c..307efa7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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 diff --git a/package.json b/package.json index 63a233a..c26e384 100644 --- a/package.json +++ b/package.json @@ -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",