Skip to content

Upgrade to new version #44

Upgrade to new version

Upgrade to new version #44

Workflow file for this run

name: Build and Publish
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
scope: '@spoonjoy'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build packages
run: yarn lerna run build --stream
- name: Publish packages
run: yarn lerna publish from-package --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}