id-token
This commit is contained in:
3
.github/workflows/node-cicd.yml
vendored
3
.github/workflows/node-cicd.yml
vendored
@ -8,6 +8,7 @@ jobs:
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@ -27,7 +28,7 @@ jobs:
|
||||
scope: ${{ github.repository_owner }}
|
||||
token: ${{ secrets.ACTIONS_TOKEN || github.token }}
|
||||
|
||||
- run: npm ci || npm i
|
||||
- run: npm ci
|
||||
if: ${{ steps.diff.outputs.src }}
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.ACTIONS_TOKEN || github.token }}
|
||||
|
||||
Reference in New Issue
Block a user