chore: update workflow

This commit is contained in:
Jacob Nguyen
2023-03-09 16:15:29 -06:00
parent 507c9e7939
commit 6db5c71506

View File

@@ -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
@@ -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"