Skip to content

feat(chat): finalized cloud (#297) #235

feat(chat): finalized cloud (#297)

feat(chat): finalized cloud (#297) #235

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: '0'
- run: |
git config user.name carbon-bot
git config user.email [email protected]
- 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