Skip to content

Commit 044161d

Browse files
ci: trusted publishing (#47)
1 parent 5ada5e9 commit 044161d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ jobs:
99
env:
1010
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
1111
GH_TOKEN: ${{ secrets.GH_TOKEN }}
12-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
12+
permissions:
13+
id-token: write
14+
contents: read
1315

1416
steps:
1517
- uses: actions/checkout@v4
@@ -29,9 +31,6 @@ jobs:
2931
yarn install --frozen-lockfile
3032
yarn build
3133
32-
- name: Creates local .npmrc
33-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
34-
3534
- name: Prepare Lingui-Bot git account
3635
uses: oleksiyrudenko/gha-git-credentials@v2-latest
3736
with:

0 commit comments

Comments
 (0)