Skip to content

Commit

Permalink
💚 ci: Giving runner permission to read packages
Browse files Browse the repository at this point in the history
  • Loading branch information
joebobmiles committed Jul 11, 2021
1 parent 9ea3ed9 commit 8f3c38c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches-ignore: [ master, main ]

permissions:
packages: read

jobs:
commitlint:
name: Lint commits
Expand All @@ -18,7 +21,7 @@ jobs:
with:
node-version: 15

- run: npm ci --registry https://registry.npmjs.org
- run: npm ci

- uses: actions/upload-artifact@v2
if: ${{ always() }}
Expand Down

0 comments on commit 8f3c38c

Please sign in to comment.