Skip to content

Commit

Permalink
ci: Fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Jul 31, 2023
1 parent 298a149 commit 4a66116
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:
contents: write
pull-requests: write

name: Release Please
name: versioning

jobs:
release-please:
Expand All @@ -20,7 +20,7 @@ jobs:
package-name: pip-requirements-js
publish:
if: "startsWith(github.event.head_commit.message, 'chore(main): release')"
name: Publish new version
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"compile:check": "pnpm compile:ohm && pnpm compile:ts:check",
"test": "pnpm jest",
"build": "pnpm clean && pnpm compile",
"prepublishOnly": "pnpm test && pnpm build"
"prepublishOnly": "pnpm build && pnpm test"
},
"dependencies": {
"ohm-js": "^17.1.0"
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true
}
},
"exclude": ["src/**/*.test.ts"]
}

0 comments on commit 4a66116

Please sign in to comment.