Skip to content

Commit

Permalink
chore: run tests in "release" workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Mar 1, 2022
1 parent 542455f commit 0e17432
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
- name: Install dependencies
uses: bahmutov/npm-install@v1

- name: Build
run: yarn build

- name: Test
run: yarn test

- name: Release
uses: cycjimmy/semantic-release-action@v2
env:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"clean": "rimraf lib",
"build": "yarn clean && tsc --build",
"prepare": "yarn simple-git-hooks init",
"prepublishOnly": "yarn test:internal && yarn build && yarn test:integration"
"prepublishOnly": "yarn build"
},
"files": [
"lib",
Expand Down

0 comments on commit 0e17432

Please sign in to comment.