forked from carbon-design-system/carbon-for-ibm-dotcom
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 874 Bytes
/
check-cdn.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
name: check-cdn (Checks the CDN packages nightly)
on:
schedule:
- cron: '0 1 * * 1-5'
concurrency:
group: check-cdn-${{ github.ref }}
cancel-in-progress: true
jobs:
cypress:
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 dependencies
run: yarn install --immutable --immutable-cache
- name: Run Cypress tests over the CDN packages
run: yarn test:cdn-build:test
working-directory: packages/web-components
- uses: act10ns/slack@v2
with:
status: ${{ job.status }}
if: failure()