Skip to content

Commit

Permalink
revert: fix npm publish ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JianJroh committed May 30, 2023
1 parent 13fcb05 commit 83cd377
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ on:
- 'v*.*.*'

jobs:
ci-check:
uses: ./.github/workflows/ci.yml
npm-publish:
runs-on: ubuntu-latest
permissions:
Expand All @@ -26,6 +24,15 @@ jobs:
cache: pnpm
registry-url: 'https://registry.npmjs.org'

- name: Install Dependencies
run: pnpm i

- name: Check lint
run: pnpm lint

- name: Build
run: pnpm build

- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN }}
Expand Down

0 comments on commit 83cd377

Please sign in to comment.