Skip to content

Commit

Permalink
fix: move postinstall to prepare (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno authored Mar 24, 2024
1 parent 9eb9981 commit 34bb519
Show file tree
Hide file tree
Showing 6 changed files with 9,127 additions and 6,608 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
Expand All @@ -20,6 +22,7 @@ jobs:
npm i --no-save warframe-items@latest
npm i --no-save warframe-worldstate-data@latest
npm run lint
npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
test:
name: Test
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v4
with:
Expand All @@ -25,6 +26,7 @@ jobs:
npm i --no-save warframe-items@latest
npm i --no-save warframe-worldstate-data@latest
npm run lint
npx commitlint --from=HEAD~1
npm test
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
Expand Down
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
Loading

0 comments on commit 34bb519

Please sign in to comment.