File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 runs-on : ubuntu-22.04
1919 environment : ${{ inputs.environment == 'production' && 'production' || null }}
2020 permissions :
21- id-token : write # Used when [generating provenance statements] (https://docs.npmjs.com/generating-provenance-statements )
21+ id-token : write # required for Trusted publishing (https://docs.npmjs.com/trusted-publishers )
2222
2323 steps :
2424 - name : Checkout
5959 path : ${{steps.pack.outputs.ARCHIVE_FILE_PATH}}
6060 archive : false # file is already compressed
6161
62- # Publish the package using [trusted- publishing] (https://docs.npmjs.com/trusted-publishers)
62+ # Publish the package using Trusted publishing (https://docs.npmjs.com/trusted-publishers)
6363 - name : Publish to npm
6464 if : inputs.environment == 'production'
6565 run : npm publish --workspace govuk-frontend --tag ${{steps.generate_tag.outputs.NPM_TAG}}
You can’t perform that action at this time.
0 commit comments