Merge c49334a3cce2754af28d0d47168357ce6a8163b2 into main #2521
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e-integration | |
on: | |
push: | |
branches: [ main, release/v2* ] | |
schedule: | |
- cron: '0 20 * * 1-5' | |
concurrency: | |
group: e2e-integration-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
web-components: | |
if: github.repository == 'carbon-design-system/carbon-for-ibm-dotcom' | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
node-version: ['18.x'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --immutable --immutable-cache | |
- name: Build | |
run: yarn lerna run --stream build | |
- name: Build CDN components | |
run: yarn build:components | |
working-directory: packages/web-components | |
- name: Run e2e codesandbox tests | |
run: yarn test:e2e:build && yarn test:e2e:test:no-percy | |
working-directory: packages/web-components | |
- uses: act10ns/slack@v2 | |
if: failure() | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
with: | |
status: ${{ job.status }} |