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 c6fb9b6 commit b1f9a44Copy full SHA for b1f9a44
.github/workflows/publish.yaml
@@ -7,6 +7,7 @@ on:
7
jobs:
8
publish:
9
runs-on: ubuntu-latest
10
+ environment: Production
11
steps:
12
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
13
with:
@@ -16,11 +17,14 @@ jobs:
16
17
- uses: actions/setup-node@v4
18
19
node-version-file: package.json
20
+ registry-url: 'https://registry.npmjs.org'
21
cache: "npm"
22
- name: Install dependencies
23
run: |
24
npm ci
- - run: |
25
+ - env:
26
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
27
+ run: |
28
npm publish
29
- run: |
30
gh release create ${{ github.ref }} --title "${{ github.ref }}" --notes "Release ${{ github.ref }}" --generate-notes
0 commit comments