Skip to content

fix(deps): replace dependency @material-ui/core with @mui/material ^5.0.0 #400

fix(deps): replace dependency @material-ui/core with @mui/material ^5.0.0

fix(deps): replace dependency @material-ui/core with @mui/material ^5.0.0 #400

Workflow file for this run

name: 'CI workflow'
on:
workflow_dispatch:
pull_request_target:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
build:
# TODO: template for build to DRY for CI and for publish workflows
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout non PR
uses: actions/checkout@v3
# Do not trigger a checkout when opening PRs from a fork (helps avoid
# "pwn request". See https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target )
if: github.event_name != 'pull_request_target'
with:
fetch-depth: '0'
- name: Checkout PR
uses: actions/checkout@v2
if: github.event_name == 'pull_request_target'
with:
ref: "refs/pull/${{ github.event.number }}/merge"
fetch-depth: '0'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- name: validate config
run: yarn backstage-cli config:check --lax
- name: lint
run: yarn backstage-cli repo lint
- name: type checking and declarations
run: yarn tsc:full
- name: build
run: yarn backstage-cli repo build --all
env:
CI: true
- name: verify type dependencies
run: yarn lint:type-deps
- name: test
run: |
yarn lerna -- run test -- --coverage --runInBand
- name: Cypress e2e tests
uses: cypress-io/github-action@v2
with:
start: yarn dev
wait-on: 'http://localhost:3000, http://localhost:7007/healthcheck'
project: ./packages/app
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload e2e tests result
uses: actions/upload-artifact@v3
with:
name: cypress-output
path: packages/app/cypress-out
if: always()