|
|
|
@ -12,6 +12,9 @@ jobs:
|
|
|
|
defaults:
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
run:
|
|
|
|
working-directory: packages/npm
|
|
|
|
working-directory: packages/npm
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
id-token: write
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: 🧮 Checkout code
|
|
|
|
- name: 🧮 Checkout code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
@ -33,10 +36,4 @@ jobs:
|
|
|
|
VERSION: ${{ github.event.release.tag_name }}.0
|
|
|
|
VERSION: ${{ github.event.release.tag_name }}.0
|
|
|
|
|
|
|
|
|
|
|
|
- name: 🚀 Publish to npm
|
|
|
|
- name: 🚀 Publish to npm
|
|
|
|
id: npm-publish
|
|
|
|
run: npm publish --provenance --access public --tag latest
|
|
|
|
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
token: ${{ secrets.NPM_TOKEN }}
|
|
|
|
|
|
|
|
package: packages/npm
|
|
|
|
|
|
|
|
access: public
|
|
|
|
|
|
|
|
ignore-scripts: false
|
|
|
|
|
|
|
|
|