Skip to content

v1.7.2

v1.7.2 #9

Workflow file for this run

name: Publish release
on:
# Runs whenever a new release is created in GitHub
release:
types: [created]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# Publish job
publish:
runs-on: ubuntu-latest
permissions:
id-token: write
strategy:
matrix:
node-version: [20]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- run: npm ci --workspaces
- run: npm run build --workspaces
- run: npm publish --workspaces --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}