Skip to content

Update dependency antd to v5.10.2 #275

Update dependency antd to v5.10.2

Update dependency antd to v5.10.2 #275

Workflow file for this run

name: Unit and E2E Tests
on: [push]
jobs:
Jest:
name: Jest Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: ${{ env.NODE_VERSION }}
# - name: Set up Node.js
# uses: actions/setup-node@v2
# with:
# node-version: '14' # specify the node version
# - name: Cache dependencies
# uses: actions/cache@v2
# with:
# path: ~/.cache/yarn
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile # Use frozen-lockfile to ensure reproducibility.
- name: Run Tests
run: yarn test
cypress-run:
name: Cypress E2E Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
env:
CI: false
run: yarn build
- name: Cypress run
uses: cypress-io/github-action@v5
env:
REACT_APP_DESCOPE_PROJECT_ID: ${{ secrets.REACT_APP_DESCOPE_PROJECT_ID }}
REACT_APP_DESCOPE_MANAGEMENT_KEY: ${{ secrets.REACT_APP_DESCOPE_MANAGEMENT_KEY }}
# pass GitHub token to detect new build vs re-run build
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
start: yarn start
wait-on: "http://localhost:3000"
wait-on-timeout: 120
browser: chrome
# record: true