Skip to content

Release

Release #85

Workflow file for this run

name: Release
on: workflow_dispatch
permissions:
id-token: write
contents: read
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
- name: Get the version
id: get_version
run: echo "version=$(jq -Mr '.version' < lerna.json)" >> $GITHUB_OUTPUT
- name: Setup Node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version-file: .nvmrc
cache: "npm"
registry-url: "https://registry.npmjs.org"
# Ensure npm 11.5.1 or later is installed for OIDC to work.
- name: Update npm
run: npm install -g npm@latest
- name: Install
run: npm ci
- name: Verify Integrity
run: npm audit signatures --omit=dev
- name: Test
run: npx nx run-many -t test
- name: Test Build
run: npx nx run-many -t build --parallel=1
- name: Publish
run:
npx nx run-many -t publish --registry=npm --ver=${{ format('{0}', steps.get_version.outputs.version)}}
--tag=latest