We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65b07d2 commit b61e9e8Copy full SHA for b61e9e8
1 file changed
.github/workflows/publish.yml
@@ -8,18 +8,20 @@ jobs:
8
publish:
9
environment: npm
10
runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ id-token: write
14
steps:
15
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
16
- name: Use Node.js 18.12.0
17
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
18
with:
19
node-version: '18.12.0'
20
cache: 'yarn'
21
+ registry-url: 'https://registry.npmjs.org'
22
- run: yarn install --frozen-lockfile
23
- run: yarn test
24
- run: yarn build
25
- run: yarn build:node
- - uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
- with:
- token: ${{ secrets.NPM_TOKEN }}
- strategy: all
26
+ - name: Publish to npm
27
+ run: npm publish --provenance
0 commit comments