Skip to content

Commit

Permalink
Call directly
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidTanner committed Oct 17, 2023
1 parent 8ea1414 commit 79f3158
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm run lintprcommits
- run: ./node_modules/commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
main:
runs-on: ubuntu-latest
steps:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ on:


jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm run lintprcommits
main:
runs-on: ubuntu-latest
environment: DeployEnv
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"pretest": "npm run lint",
"test": "npx vitest run --coverage",
"prepublishOnly": "tsc -p tsconfig.build.json",
"clean": "tsc --build --clean; rm -rf tsconfig.build.tsbuildinfo tsconfig.tsbuildinfo",
"lintprcommits": "commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose"
"clean": "tsc --build --clean; rm -rf tsconfig.build.tsbuildinfo tsconfig.tsbuildinfo"
},
"keywords": [
"credstash",
Expand Down

0 comments on commit 79f3158

Please sign in to comment.