Skip to content

Commit

Permalink
chore(api-gateway): build on prepublish command
Browse files Browse the repository at this point in the history
  • Loading branch information
fasenderos committed Sep 23, 2023
1 parent 9e1c823 commit 8db0d2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/publish-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ jobs:
timeout_minutes: 15
retry_on: error
command: pnpm install --frozen-lockfile
- name: Build packages
run: |
if [! -z "${{ github.event.inputs.package }}" ];
then
PATH="$(node ./scripts/get-package-from-tag.js '${{ github.ref_name }}')"
if [! -z "$PATH" ]; then cd $PATH; fi
fi
pnpm build
- name: Release packages
run: |
if [! -z "${{ github.event.inputs.package }}" ];
Expand Down
1 change: 1 addition & 0 deletions packages/api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"start:prod": "node dist/src/main",
"lint": "eslint",
"lint:fix": "eslint --fix",
"prepublish": "pnpm build",
"pretest": "node ./test/before-all-tests.js",
"release": "release-it --ci",
"test": "pnpm pretest && tap --ts",
Expand Down

0 comments on commit 8db0d2c

Please sign in to comment.