Skip to content

Commit

Permalink
chore: compile on publish job as needed
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Nov 16, 2024
1 parent 8293593 commit f9cfd96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
with:
node-version: latest
- run: npm ci
- run: npm run compile
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ steps.get-token.outputs.token }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"unit": "ava",
"test": "run-s clean-artifacts format/check compile lint unit",
"clean-artifacts": "git clean lib -X --force",
"is-code-clean": "git diff-index HEAD --quiet"
"is-code-clean": "git diff-index HEAD --quiet",
"prepublishOnly": "run-s is-code-clean compile"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit f9cfd96

Please sign in to comment.