File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,9 @@ jobs:
108
108
runs-on : ubuntu-latest
109
109
needs : [ci-node,ci-db-linting,ci-db-testing]
110
110
if : startsWith(github.ref, 'refs/tags/v')
111
+ permissions :
112
+ contents : write
113
+ id-token : write
111
114
steps :
112
115
- name : Checkout the repository
113
116
uses : actions/checkout@v3
@@ -118,7 +121,7 @@ jobs:
118
121
- name : Install dependencies
119
122
run : npm ci
120
123
- name : Publish package to NPM
121
- run : npm publish --access=public
124
+ run : npm publish --provenance -- access=public
122
125
env :
123
126
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
124
127
- name : Build package to upload to GitHub releases
@@ -131,4 +134,4 @@ jobs:
131
134
files : acpr-rate-limit-postgresql.tgz
132
135
body :
133
136
You can view the changelog
134
- [here](https://github.com/adrianprelipcean/express-rate-limit-postgresql/blob/master/changelog.md).
137
+ [here](https://github.com/adrianprelipcean/express-rate-limit-postgresql/blob/master/changelog.md).
You can’t perform that action at this time.
0 commit comments