-
Notifications
You must be signed in to change notification settings - Fork 159
42 lines (39 loc) · 1.16 KB
/
e2e-integration.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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 }}