mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
chore: publish.yml (#3307)
* chore: publish.yml * Update .github/workflows/publish.yml Co-authored-by: Danilo Britto <dbritto.dev@gmail.com> --------- Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>
This commit is contained in:
parent
ddfc158f87
commit
2cfb6a72d2
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@ -4,6 +4,10 @@ on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
@ -18,6 +22,4 @@ jobs:
|
||||
- run: pnpm install
|
||||
- run: pnpm run build
|
||||
- run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
working-directory: dist
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user