Skip to content

Merge pull request #3850 from carbon-design-system/fix-emptystate-run… #1715

Merge pull request #3850 from carbon-design-system/fix-emptystate-run…

Merge pull request #3850 from carbon-design-system/fix-emptystate-run… #1715

Workflow file for this run

name: Publish
on:
push:
branches:
- master
- next
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.CARBON_BOT_TOKEN }}
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: |
yarn --frozen-lockfile
yarn lerna run --stream postinstall
yarn lerna link
- name: Build
run: yarn build
- name: Publish
env:
GH_TOKEN: ${{ secrets.CARBON_BOT_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn publish-npm