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 9a132a3 commit d36d7a6Copy full SHA for d36d7a6
.github/workflows/release-npm-package.yaml
@@ -5,19 +5,19 @@ on:
5
workflow_call:
6
workflow_dispatch:
7
8
+permissions:
9
+ id-token: write # Required for OIDC
10
+ contents: read
11
+
12
jobs:
13
build-npm-package:
14
runs-on: ubuntu-latest
- permissions:
- contents: read
- packages: write
15
steps:
16
- uses: actions/checkout@v5
17
- uses: actions/setup-node@v4
18
with:
19
node-version: "latest"
- registry-url: "https://npm.pkg.github.com"
20
- scope: "@octocat"
+ registry-url: "https://registry.npmjs.org"
21
- name: Install Nix
22
uses: cachix/install-nix-action@v31
23
- name: Build npm package
@@ -30,5 +30,3 @@ jobs:
30
- name: Publish npm package
31
run: npm publish
32
working-directory: ./build
33
- env:
34
- NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments