File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 build :
99 runs-on : ubuntu-latest
1010
11+ permissions :
12+ id-token : write
13+
1114 steps :
1215 - name : Checkout
1316 uses : actions/checkout@v6
3942 - name : Publish npm package
4043 if : ${{ !github.event.release.prerelease }}
4144 run : npm publish --tag latest
42- env :
43- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4445
4546 - name : Publish npm package (pre-release)
4647 if : ${{ github.event.release.prerelease }}
4748 run : npm publish --tag beta
48- env :
49- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -62,8 +62,6 @@ Releases run in CI using github actions.
6262
6363To prepare a release create a new release TAG in github with your release version.
6464
65- > ` NPM_TOKEN ` should be stored in the repositories [ secrets in GitHub] ( https://github.com/NHSDigital/nhsuk-react-components/settings/secrets/actions )
66-
6765- Create a new release with a tag like ` major.minor.patch ` against main.
6866- If the change is a ` beta ` then select ` pre-release ` as true, this will make the ` tag ` point at ` beta ` . Otherwise the tag will be ` latest ` .
6967
You can’t perform that action at this time.
0 commit comments