mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Publish using OIDC
This commit is contained in:
parent
fb3a8582a2
commit
e976c28b8a
1 changed files with 5 additions and 3 deletions
8
.github/workflows/build-and-release.yml
vendored
8
.github/workflows/build-and-release.yml
vendored
|
|
@ -5,6 +5,10 @@ on:
|
||||||
tags:
|
tags:
|
||||||
- "*"
|
- "*"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -50,6 +54,4 @@ jobs:
|
||||||
- name: Publish to npm
|
- name: Publish to npm
|
||||||
run: |
|
run: |
|
||||||
echo "Publishing version ${{ steps.get_version.outputs.tag }} to NPM"
|
echo "Publishing version ${{ steps.get_version.outputs.tag }} to NPM"
|
||||||
npm publish --workspace=packages/safe-chain --access public
|
npm publish --workspace=packages/safe-chain --access public --provenance
|
||||||
env:
|
|
||||||
NPM_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue