Skip to content

Commit

Permalink
chore: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoobes committed Mar 9, 2023
1 parent 507c9e7 commit 6db5c71
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: NPM / Publish

on:
workflow_run:
workflows: ["release-please"]
types: [completed]

workflow_dispatch:
jobs:
test-and-publish:
runs-on: ubuntu-latest
Expand All @@ -19,9 +16,8 @@ jobs:
- recursive: true
args: [--strict-peer-dependencies]
- run: pnpm install
- run: pnpm test
- run: pnpm build
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: "public"
access: "public"

0 comments on commit 6db5c71

Please sign in to comment.