Skip to content

v3.2.0

v3.2.0 #44

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
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
cache: 'sbt'
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- 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: npx nx run-many --target=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