Skip to content

Commit

Permalink
Add CI permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 7, 2022
1 parent a47e72e commit 5b43077
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
full:
name: Node.js Latest Full
Expand All @@ -24,8 +26,6 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Run tests
run: pnpm test
env:
FORCE_COLOR: 2
short:
runs-on: ubuntu-latest
strategy:
Expand All @@ -50,5 +50,3 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Run unit tests
run: ./node_modules/.bin/jest --forceExit
env:
FORCE_COLOR: 2

0 comments on commit 5b43077

Please sign in to comment.