GitHub actions #2
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: Frontend | |
on: [ push, pull_request ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=8.14.1 sh - | |
- run: pnpm install | |
- run: pnpm run test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=8.14.1 sh - | |
- run: pnpm install | |
- run: pnpm run lint | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=8.14.1 sh - | |
- run: pnpm install | |
- run: pnpm run format-check | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=8.14.1 sh - | |
- run: pnpm install | |
- run: pnpm run build |