We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4a575c commit 9ea0245Copy full SHA for 9ea0245
1 file changed
.github/workflows/ci.yml
@@ -10,6 +10,10 @@ on:
10
pull_request:
11
branches: [main]
12
13
+permissions:
14
+ id-token: write # Required for OIDC
15
+ contents: read
16
+
17
jobs:
18
build:
19
runs-on: ubuntu-latest
@@ -23,6 +27,7 @@ jobs:
23
27
uses: actions/setup-node@v4
24
28
with:
25
29
node-version: "24"
30
+ registry-url: "https://registry.npmjs.org"
26
31
32
- name: Cache node_modules
33
uses: actions/cache@v4
@@ -62,8 +67,5 @@ jobs:
62
67
echo "Publish a release version=$VERSION for tag $TAG_NAME"
63
68
npm --no-git-tag-version --allow-same-version version $VERSION
64
69
npm pack
65
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
66
70
npm publish react-assert-${VERSION}.tgz
71
if: ${{ env.TAG_NAME != '' }}
- env:
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments