Skip to content

Commit

Permalink
make builds explicit where necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
foxriver76 committed Aug 7, 2024
1 parent 55e4d5f commit 0c9f5a9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
- name: Test
run: npm test

- name: Build
run: npm run build

- name: Prepare release
env:
VERSION_BUMP: ${{ inputs.versionBump }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ jobs:
if: steps.automerge.outputs.mergeResult == 'merged'
run: npm install

- name: Build
if: steps.automerge.outputs.mergeResult == 'merged'
run: npm run build

# The prepublish script also creates a build
- name: Publish package to npm
if: steps.automerge.outputs.mergeResult == 'merged'
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
"test": "npm run test:declarations && npm run test:javascript",
"translate": "translate-adapter",
"//postinstall": "node ./install/installTypings.js",
"prepublishOnly": "node node_modules/gulp/bin/gulp.js",
"build": "node node_modules/gulp/bin/gulp.js",
"release": "release-script --noPush -y",
"update-packages": "ncu --upgrade && cd src && ncu --upgrade && cd ../src-admin && ncu --upgrade",
Expand Down

0 comments on commit 0c9f5a9

Please sign in to comment.