File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' react-loqate ' : patch
3+ ---
4+
5+ set up a trusted publisher
Original file line number Diff line number Diff line change 3737 timeout-minutes : 15
3838 runs-on : ubuntu-latest
3939 if : github.ref == 'refs/heads/main'
40+ permissions :
41+ id-token : write
42+ contents : write
43+ pull-requests : write
44+ environment : release
4045 needs : lint-test-build
4146 steps :
4247 - name : Checkout
6974 restore-keys : |
7075 ${{ runner.os }}-pnpm-store-
7176
77+ - name : Upgrade npm for trusted publishing
78+ run : npm i -g npm@^11.6.4
79+
7280 - name : Create and publish versions
7381 uses : changesets/action@v1
7482 with :
7785 publish : pnpm publish:ci
7886 env :
7987 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
80- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
81- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
88+ NPM_CONFIG_PROVENANCE : true
You can’t perform that action at this time.
0 commit comments