Skip to content

Commit

Permalink
ci: replace npm run build with npm install and npm run build
Browse files Browse the repository at this point in the history
Signed-off-by: Antonette Caldwell <[email protected]>
  • Loading branch information
nebula-aac committed Feb 3, 2024
1 parent d727c2d commit 021fe8b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
registry-url: "https://registry.npmjs.org"
scope: "@layer5"
- run: |
npm install
npm run build
npm publish --verbose
env:
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\"",
"prepublish": "npm run build",
"test": "jest",
"versionup:major": "npm version major",
"versionup:minor": "npm version minor",
Expand Down

0 comments on commit 021fe8b

Please sign in to comment.