Skip to content

Publish packages

Publish packages #17

Workflow file for this run

name: Publish packages
on: workflow_dispatch
permissions:
contents: write
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}
# need to fetch all history for lerna to calculate the changes
fetch-depth: 0
- name: Configure git credentials
uses: OleksiyRudenko/gha-git-credentials@v2
with:
token: ${{ secrets.GH_PAT }}
- name: Setup Node
uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org/"
node-version-file: .nvmrc
cache: yarn
- name: Install
shell: bash
run: yarn
- run: npx lerna exec -- yarn build
- shell: bash
run: yarn workspace @quoll/ui-components build