Skip to content

Commit

Permalink
chore: test ci publish
Browse files Browse the repository at this point in the history
  • Loading branch information
InfiniteXyy committed Nov 9, 2024
1 parent 7c8656c commit 8c0d560
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v4
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- uses: pnpm/action-setup@v4
with:
run_install: true

- name: publish
run: pnpm test && npm run publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 8c0d560

Please sign in to comment.