We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d0f2ca commit 961182fCopy full SHA for 961182f
1 file changed
.github/workflows/test-and-release.yml
@@ -26,6 +26,9 @@ jobs:
26
npm run test:ci
27
release:
28
name: Release
29
+ permissions:
30
+ contents: write
31
+ id-token: write
32
needs: test
33
runs-on: ubuntu-latest
34
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
@@ -38,6 +41,7 @@ jobs:
38
41
uses: actions/setup-node@v6.2.0
39
42
with:
40
43
node-version: lts/*
44
+ registry-url: 'https://registry.npmjs.org'
45
- name: Install dependencies
46
run: |
47
npm install --no-progress --no-package-lock --no-save
@@ -58,6 +62,6 @@ jobs:
58
62
- name: Release
59
63
env:
60
64
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
65
+ NPM_CONFIG_PROVENANCE: true
66
run: npx semantic-release
67
0 commit comments