Skip to content

Commit

Permalink
Update github actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gndelia committed Dec 26, 2024
1 parent 9a61241 commit 133c8c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 23 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/js-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,7 @@ concurrency:
cancel-in-progress: true

jobs:
run-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- run: npm ci
- run: npm run format:check
- run: npm run lint
- run: npm run knip
- run: npm test
js-checks:
uses: hemilabs/actions/.github/workflows/js-checks.yml@main
with:
node-versions: '["16", "18", "20", "22"]'
14 changes: 3 additions & 11 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ on:
- published

jobs:
publish-to-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- run: npm ci
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
npm-publish:
uses: hemilabs/actions/.github/workflows/npm-publish.yml@main
secrets: inherit

0 comments on commit 133c8c1

Please sign in to comment.