Skip to content

Commit

Permalink
Don't build the project on postinstall. Fixes #48 (#49)
Browse files Browse the repository at this point in the history
* Don't build the project on postinstall

* Add build step to CI
  • Loading branch information
brollb authored Oct 10, 2022
1 parent 4673721 commit 5e811df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
mongodb-version: "5.0"

- name: "Install Dependencies"
run: npm install -g npm && npm install
run: npm install -g npm && npm install && npm run build
continue-on-error: true

- name: "Run Tests"
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"scripts": {
"start": "node app.js",
"test": "node ./node_modules/mocha/bin/mocha --recursive test",
"postinstall": "npm run build",
"build": "npm run build:lib",
"build:lib": "vite build",
"typecheck": "tsc --noEmit",
Expand Down

0 comments on commit 5e811df

Please sign in to comment.