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.
oidc
1 parent 85d1c4f commit 754a1d8Copy full SHA for 754a1d8
β.github/workflows/npm-publish.ymlβ
@@ -3,6 +3,9 @@ on:
3
push:
4
tags:
5
- "v*"
6
+permissions:
7
+ id-token: write
8
+ contents: read
9
jobs:
10
npm-publish:
11
runs-on: ubuntu-latest
@@ -18,11 +21,7 @@ jobs:
18
21
- name: Build π·ββοΈ
19
22
run: pnpm turbo run build --filter=gitmojis
20
23
- name: Publish package to NPM π
- env:
- NPM_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}
- run: |
24
- npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
25
- pnpm turbo publishPackage
+ run: pnpm turbo publishPackage
26
- name: Publish GitHub Release π
27
uses: softprops/action-gh-release@v2
28
with:
β.node-versionβ
@@ -1 +1 @@
1
-22
+24
0 commit comments