Skip to content

Commit

Permalink
Add permissions to deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
akudev committed Dec 11, 2023
1 parent a5ac6d9 commit 34df7c5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,19 @@ on:
pull_request:
branches: [ master, main ]

permissions:
contents: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [20.x]

steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
Expand Down

0 comments on commit 34df7c5

Please sign in to comment.