Skip to content

chore(storybook): add meta component for link list story (#226) #180

chore(storybook): add meta component for link list story (#226)

chore(storybook): add meta component for link list story (#226) #180

name: Release - canary
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release-canary:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
if: |
github.repository == 'carbon-design-system/carbon-labs'
timeout-minutes: 60
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: '0'
- run: |
git config user.name carbon-bot
git config user.email carbon@us.ibm.com
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Build project
run: yarn build
- name: Set NPM token
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
- name: Publish canary release of packages
run: |
yarn lerna publish --canary --preid canary --dist-tag canary --yes