Skip to content

2024.06.11-1630Z

2024.06.11-1630Z #46

Workflow file for this run

name: Publish Release
on:
release:
types: [released]
jobs:
publish:
runs-on: ubuntu-20.04
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm ci
- name: Build
run: npm run build --workspaces
- name: Set up npm
run: printf '%s\n' '//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}' registry=https://registry.npmjs.org/ always-auth=true >> .npmrc
- name: Publish
run: ./scripts/publish-npm.sh
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}