Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Temporarily disable wdio tests #3138

Temporarily disable wdio tests

Temporarily disable wdio tests #3138

Workflow file for this run

---
name: CI and CD
on:
push:
branches: ['main']
pull_request:
branches: ['main']
schedule:
- cron: '0 1 * * SUN'
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
tags:
description: 'Test scenario tags'
required: false
type: boolean
environment:
description: 'Environment to run tests against'
type: environment
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v3
- name: Setup Project
uses: ./.github/actions/setup
- name: Linting Project
run: |
npm run lint
- name: Testing Project
run: |
npm run jest:no-coverage
- if: github.event_name == 'pull_request'
name: Danger
uses: danger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# https://github.com/danger/danger-js/issues/557#issuecomment-664851950
DANGER_DISABLE_TRANSPILATION: true
# wdio:
# runs-on: ubuntu-latest
#
# strategy:
# fail-fast: true
# matrix:
# form-factor: [tiny, small, medium, large, huge, enormous]
# theme: [default, lowlight, fusion]
#
# steps:
# - name: Checkout Project
# uses: actions/checkout@v3
# - name: Setup Project
# uses: ./.github/actions/setup
# - name: Compile Project Default
# run: |
# npm run compile:default -- --output-path build/default
# if: matrix.theme == 'default'
# - name: Compile Project Lowlight
# run: |
# npm run compile:lowlight -- --output-path build/lowlight
# if: matrix.theme == 'lowlight'
# - name: Compile Project Fusion
# run: |
# npm run compile:fusion -- --output-path build/fusion
# if: matrix.theme == 'fusion'
# - name: Run WDIO Tests for form factor ${{ matrix.form-factor }} and ${{ matrix.theme }}
# env:
# SITE: build/${{ matrix.theme }}
# FORM_FACTOR: ${{ matrix.form-factor }}
# run: npm run wdio:${{ matrix.theme }}
release-and-deploy:
runs-on: ubuntu-latest
needs: [build, wdio]

Check failure on line 89 in .github/workflows/ci-cd.yml

View workflow run for this annotation

GitHub Actions / CI and CD

Invalid workflow file

The workflow is not valid. .github/workflows/ci-cd.yml (Line: 89, Col: 20): Job 'release-and-deploy' depends on unknown job 'wdio'.
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout Project
uses: actions/checkout@v2
- name: Setup GitHub Config
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- name: Setup Project
uses: ./.github/actions/setup
- name: Build
env:
TERRA_DEV_SITE_NEW_RELIC_LICENSE_KEY: ${{ secrets.TERRA_DEV_SITE_NEW_RELIC_LICENSE_KEY }}
TERRA_DEV_SITE_NEW_RELIC_APPLICATION_ID: "144458769"
TERRA_DEV_SITE_PUBLIC_PATH: /terra-framework/
run: npm run compile:default
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx terra release
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
keep_files: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: 'chore(docs): Regenerate docs'