limit test workers for vitest integration tests #580
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: Lint | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- "main" | |
- "hotfix-*" | |
jobs: | |
build: | |
name: "Lint" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [ 16 ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "yarn" | |
- name: yarn install | |
run: | | |
yarn install --immutable --immutable-cache --check-cache | |
- name: build | |
run: | | |
yarn run build | |
- name: prettier | |
run: | | |
yarn run prettier:check | |
- name: eslint | |
run: | | |
yarn run lint |