Skip to content

Commit

Permalink
ci(cd): add missing id-token for github package job
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Jan 16, 2024
1 parent edbe134 commit c9b7667
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# Build docs and TS definitions and remove dev values
# Build docs and TS definitions, and remove dev values
# from package.json before publishing to reduce package size
run: |
npm i --ignore-scripts
Expand All @@ -67,6 +67,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
packages: write
steps:
- name: Check out repo
Expand All @@ -89,7 +90,7 @@ jobs:
- name: Publish to GitHub Packages
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Build docs and TS definitions and remove dev values
# Build docs and TS definitions, and remove dev values
# from package.json before publishing to reduce package size
run: |
npm i --ignore-scripts
Expand Down

0 comments on commit c9b7667

Please sign in to comment.