so anyways I coded in the exception #379
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 and Test | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: | |
contents: write | |
concurrency: | |
group: build-and-test | |
cancel-in-progress: true | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
steps: | |
- uses: actions/[email protected] | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: | | |
pnpm i | |
- name: Run Format | |
run: | | |
pnpm format | |
- uses: stefanzweifel/[email protected] | |
with: | |
commit_message: "Apply formatting" | |
check: | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
steps: | |
- uses: actions/[email protected] | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: | | |
pnpm i | |
- name: Run check | |
run: | | |
pnpm check | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
steps: | |
- uses: actions/[email protected] | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: | | |
pnpm i | |
- name: Run Linter | |
run: | | |
pnpm lint |