chore(deps): update dependency @types/react to v18.2.30 #2712
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: Test | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: node | |
run: echo "##[set-output name=versoin;]$(cat .nvmrc)" | |
id: node | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "${{ steps.node.outputs.version }}" | |
- name: Install dependencies | |
run: | | |
npm ci | |
- name: Run static tests | |
run: | | |
npm run test:codestyle | |
npm run test:type | |
npm run test:cpd | |
- name: Run unit tests | |
run: | | |
npm run test | |
- name: Run visual regression tests | |
run: | | |
npm run test:e2e -- --browsers=Chrome | |
npm run test:e2e -- --browsers=Firefox | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: diff_output | |
path: test/e2e/__image_snapshots__/__diff_output__ | |
- name: Run build tests | |
run: | | |
node scripts/run-build-test.js |