Skip to content

Commit

Permalink
fix: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
modbender authored and modbender committed Sep 4, 2024
1 parent 9c31076 commit 7ccfdf6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ltpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: "package.json"
node-version: "lts"
cache: "pnpm"

- name: Install dependencies
Expand All @@ -30,18 +30,16 @@ jobs:
- name: Run linters
uses: wearerequired/lint-action@v2
with:
auto_fix: true
eslint: true
prettier: true
commit_message: "chore: lint fix ${linter}"

- name: Run tests
run: pnpm test

- name: Run prepack
run: pnpm prepack

- name: Publish to npmjs
- name: Publish to npm
run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down

0 comments on commit 7ccfdf6

Please sign in to comment.