Skip to content

Commit

Permalink
FIX ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
nichoth committed Apr 29, 2024
1 parent 75b7c01 commit d0e8f78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
npm run lint
env:
CI: true
- name: Run tape tests
- name: Run tap tests
run: |
npm run build-tests
xvfb-run --server-args="-screen 0 1920x1080x24" npm run test-tape-run
npm test
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
],
"scripts": {
"lint": "eslint \"./**/*.{ts,js}\"",
"build-tests": "esbuild test/index.ts --platform=node --target=es2022 --bundle --keep-names > test/test-bundle.js",
"test": "npm run lint && npm run build && npm run test-node",
"test-node": "esbuild ./src/index.ts > ./src/index.js && cd test && esbuild ./index.ts --platform=node --format=esm | node --input-type=module | tap-spec",
"build-cjs": "esbuild src/*.ts --format=cjs --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --out-extension:.js=.cjs --sourcemap=inline",
Expand Down

0 comments on commit d0e8f78

Please sign in to comment.