@@ -2,11 +2,17 @@ name: Test
22
33on :
44 push :
5- branches : # Array of patterns that match refs/heads
6- - main # Push events on main branch
7- pull_request : # Specify a second event with pattern matching
5+ branches : # Array of patterns that match refs/heads
6+ - main # Push events on main branch
7+ pull_request : # Specify a second event with pattern matching
88env :
99 CI : true
10+
11+ permissions :
12+ contents : read
13+ actions : read
14+ checks : write
15+
1016jobs :
1117 unit :
1218 runs-on : ubuntu-latest
3440 - run : npm run benchmarks
3541 - name : Coveralls GitHub Action
3642 # Per Actions best practices, SHA is the safest for third party actions
37- # https://github.com/coverallsapp/github-action/releases/tag/v2.3.4
38- uses : coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8
43+ # https://github.com/coverallsapp/github-action/releases/tag/v2.3.6
44+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
3945 with :
4046 github-token : ${{ secrets.GITHUB_TOKEN }}
4147 flag-name : run-unit-${{ matrix.node-version }}
4753 steps :
4854 - name : Coveralls Finished
4955 # Per Actions best practices, SHA is the safest for third party actions
50- # https://github.com/coverallsapp/github-action/releases/tag/v2.3.4
51- uses : coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8
56+ # https://github.com/coverallsapp/github-action/releases/tag/v2.3.6
57+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
5258 with :
5359 github-token : ${{ secrets.github_token }}
5460 parallel-finished : true
0 commit comments