Skip to content

v2.0.4

v2.0.4 #35

Workflow file for this run

name: Release
on:
push:
tags: ['*']
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set Release Env
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
echo ${{ secrets.PGP_SECRET }} | base64 --decode | gpg --batch --import
- run: npm ci
- run: npm run build
- name: Release
run: npm run lerna:publish
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
NPM_CONFIG_PROVENANCE: true