chore(deps): update dependency eslint to v9 #3570
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: CI | |
on: | |
push: | |
branches-ignore: ['main', '2.*'] | |
jobs: | |
test_lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- uses: bahmutov/npm-install@v1 | |
- name: If this step fails run 'yarn lint' and 'yarn format' then commit again. | |
run: | | |
yarn lint:check | |
yarn format:check | |
test: | |
runs-on: ${{ matrix.os }} | |
needs: test_lint | |
strategy: | |
matrix: | |
node: ['20'] | |
os: [ubuntu-latest] | |
name: Test with Node v${{ matrix.node }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- uses: bahmutov/npm-install@v1 | |
- name: Check Typing | |
run: yarn run check | |
- name: Unit Tests | |
run: yarn run test | |
- name: Install Playwright Browsers | |
run: yarn playwright install --with-deps | |
- name: Build Storybook | |
run: yarn run build-storybook --quiet | |
- name: E2E Tests | |
run: npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "npx http-server storybook-static --port 9999 --silent" "npx wait-on tcp:9999 && yarn run test:e2e" | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |