chore(deps): update dependency eslint to v9 #22
Workflow file for this run
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: Main CI | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Setup | Checkout | |
uses: actions/[email protected] | |
- name: Setup | Node.js | |
uses: re-taro/actions/[email protected] | |
with: | |
node-version-file: .tool-versions | |
- name: Run | Build | |
run: pnpm run build | |
lint-test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Setup | Checkout | |
uses: actions/[email protected] | |
- name: Setup | Node.js | |
uses: re-taro/actions/[email protected] | |
with: | |
node-version-file: .tool-versions | |
- name: Run | ESLint | |
run: pnpm run lint:eslint | |
type-test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Setup | Checkout | |
uses: actions/[email protected] | |
- name: Setup | Node.js | |
uses: re-taro/actions/[email protected] | |
with: | |
node-version-file: .tool-versions | |
- name: Run | tsc | |
run: pnpm run lint:tsc | |
# unit-test: | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 5 | |
# steps: | |
# - name: Setup | Checkout | |
# uses: actions/[email protected] | |
# - name: Setup | Node.js | |
# uses: re-taro/actions/[email protected] | |
# with: | |
# node-version-file: .tool-versions | |
# - name: Test | Unit | |
# run: pnpm run test:unit | |
# integration-test: | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 5 | |
# steps: | |
# - name: Setup | Checkout | |
# uses: actions/[email protected] | |
# - name: Setup | Node.js | |
# uses: re-taro/actions/[email protected] | |
# with: | |
# node-version-file: .tool-versions | |
# - name: Setup | Playwright | |
# uses: ./.github/actions/setup-playwright | |
# - name: Test | Integration | |
# run: pnpm run test:integration | |
# storybook-test: | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 5 | |
# steps: | |
# - name: Setup | Checkout | |
# uses: actions/[email protected] | |
# - name: Setup | Node.js | |
# uses: re-taro/actions/[email protected] | |
# with: | |
# node-version-file: .tool-versions | |
# - name: Setup | Playwright | |
# uses: ./.github/actions/setup-playwright | |
# - name: Build | Storybook | |
# run: pnpm run build-storybook --test | |
# - name: Test | Storybook | |
# run: | | |
# pnpm concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ | |
# "pnpm sirv storybook-static --host 127.0.0.1 --port 6006 --quiet" \ | |
# "pnpm wait-on http://127.0.0.1:6006 && pnpm test:storybook" |