Skip to content

Merge pull request #11 from camptocamp/add-feature-clicked-event #11

Merge pull request #11 from camptocamp/add-feature-clicked-event

Merge pull request #11 from camptocamp/add-feature-clicked-event #11

Workflow file for this run

name: Publish NPM package @dev version
# This workflow runs whenever a commit is pushed on main
on:
push:
branches:
- main
jobs:
publish-npm-package:
name: Publish NPM package
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Node & NPM
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Install project dependencies
run: npm ci
- name: Publish canary version of packages
run: npx lerna publish --canary --force-publish --dist-tag dev --preid dev --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}