check-cdn (Checks the CDN packages nightly) #766
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: 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() |