Skip to content

fix(github actions): fix ignore flags for deploy-canary workflow (#11… #6

fix(github actions): fix ignore flags for deploy-canary workflow (#11…

fix(github actions): fix ignore flags for deploy-canary workflow (#11… #6

name: release-preflight
on:
push:
branches:
- main
- release/v2*
concurrency:
group: release-preflight-${{ github.ref }}
cancel-in-progress: true
jobs:
preflight:
if: github.repository == 'carbon-design-system/carbon-for-ibm-dotcom'
runs-on: ubuntu-20.04
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'yarn'
- name: Install xvfb
run: sudo apt-get install xvfb
- name: Install dependencies
run: yarn install --immutable --immutable-cache
- name: Build project
run: yarn build
- name: Run checks
run: |
yarn ci-check
yarn lerna run --ignore=@carbon/ibmdotcom-web-components ci-check
yarn lint
yarn lint:styles
- name: Run checks (web components)
run: xvfb-run --auto-servernum yarn lerna run --stream --prefix --scope=@carbon/ibmdotcom-web-components ci-check
- uses: act10ns/slack@v2
with:
status: ${{ job.status }}
if: failure()