Skip to content

Commit

Permalink
ci: clean the build artifacts before building the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Nov 16, 2022
1 parent e30b162 commit ede50df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,10 @@ jobs:
timeout_minutes: 15
max_attempts: 1
command: |
pnpm run clean
pnpm run test.skip_gc_tests
- name: Tests + GC Tests (Release)
run: |
pnpm run clean
pnpm run test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
],
"scripts": {
"install": "node-gyp-build",
"clean": "shx rm -rf build lib libzmq tmp zmq prebuilds && shx mkdir -p tmp && shx touch tmp/.gitkeep",
"clean": "shx rm -rf ./build ./lib/ ./prebuilds",
"clean.temp": "shx rm -rf ./tmp && shx mkdir -p tmp && shx touch tmp/.gitkeep",
"build.js": "tsc --project tsconfig-build.json && node script/ci/downlevel-dts.js",
"build.doc": "typedoc --out docs --name zeromq.js --excludeProtected --excludePrivate --excludeNotExported --excludeExternals --externalPattern 'src/+(draft|native|compat).ts' --tsconfig tsconfig-build.json --mode file",
"prebuild": "ts-node -P ./tsconfig.json ./script/prebuild.ts",
Expand Down

0 comments on commit ede50df

Please sign in to comment.