File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 24
24
os : [ubuntu-latest, macos-14, windows-latest]
25
25
node : [18, 20]
26
26
runs-on : ${{ matrix.os }}
27
+ permissions :
28
+ contents : write # to be able to publish a GitHub release
29
+ issues : write # to be able to comment on released issues
30
+ pull-requests : write # to be able to comment on released pull requests
31
+ id-token : write # to enable use of OIDC for npm provenance
27
32
services :
28
33
redis :
29
34
# See workaround https://github.com/actions/runner/issues/822#issuecomment-1524826092
54
59
BULL_REDIS_CONNECTION : ${{ (matrix.os == 'ubuntu-latest') && 'redis://127.0.0.1:6379/0' || '' }}
55
60
run : npm run ${{ (matrix.os == 'ubuntu-latest') && 'test-verbose' || 'test' }}
56
61
- name : Maybe Release
57
- if : matrix.os == 'ubuntu-latest' && matrix.node == 18 && github.event_name == 'push' && github.ref == 'refs/heads/main'
62
+ if : matrix.os == 'ubuntu-latest' && matrix.node == 20 && github.event_name == 'push' && github.ref == 'refs/heads/main'
58
63
env :
59
64
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
60
65
NPM_TOKEN : ${{ secrets.NPM_TOKEN_ELEVATED }}
61
-
66
+ NPM_CONFIG_PROVENANCE : ' true'
67
+
You can’t perform that action at this time.
0 commit comments