Skip to content

v2.0.0-dev.4

v2.0.0-dev.4 #12

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Node.js Package publish
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v5
with:
node-version: 24
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies
run: npm ci
- name: Build typescript packages
run: npm run buildts
- name: Publish to npm
run: npx lerna publish from-git --yes
env:
NPM_CONFIG_PROVENANCE: true