Skip to content

Commit

Permalink
build: run scripts after install
Browse files Browse the repository at this point in the history
  • Loading branch information
SuaYoo committed Jan 6, 2021
1 parent 2c3427e commit baf3d77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,12 @@ jobs:
run: npm ci
- name: Install package dependencies
working-directory: packages/${{ env.PACKAGE_DIR }}
run: npm ci --ignore-scripts
run: npm ci
- name: Test
working-directory: packages/${{ env.PACKAGE_DIR }}
run: npm test
env:
CI: true
- name: Build
working-directory: packages/${{ env.PACKAGE_DIR }}
run: npm run build
- if: github.event.inputs.package == 'webrtc'
name: Generate docs
working-directory: packages/${{ env.PACKAGE_DIR }}
Expand Down
1 change: 0 additions & 1 deletion packages/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"scripts": {
"build": "rollup -c",
"prepare": "npm run build",
"prepublishOnly": "if [[ -z \"${CI}\" ]]; then npm run test; else echo \"Skipping tests in CI\"; fi",
"test": "jest",
"docs": "typedoc src",
"release": "release-it",
Expand Down

0 comments on commit baf3d77

Please sign in to comment.