Skip to content

v0.0.2-canary.2

v0.0.2-canary.2 #1

Workflow file for this run

name: publish-canary
on:
push:
tags:
- 'v*.*.*-canary.*'
jobs:
publish-canary:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Build and test
run: npm run build && npm test
- name: Publish to npm
run: npx lerna publish --canary --yes --no-git-tag-version --no-push --dist-tag canary
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}