Skip to content

Commit

Permalink
chore(Setup): Adjust gh action permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
m-arrieta-r committed Aug 4, 2024
1 parent da45caa commit 395dc0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ on:
branches: [main]
workflow_dispatch:

permissions:
id-token: write

name: Publish Package 🚀

jobs:
build_and_publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
# registry-url: 'https://npm.pkg.github.com'
- run: yarn install --frozen-lockfile
Expand Down

0 comments on commit 395dc0e

Please sign in to comment.