mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
chore: update workflow
This commit is contained in:
8
.github/workflows/npm-publish.yml
vendored
8
.github/workflows/npm-publish.yml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user