Skip to content

GitHub: Add initial backend & frontend workflows #3

GitHub: Add initial backend & frontend workflows

GitHub: Add initial backend & frontend workflows #3

Workflow file for this run

name: Frontend
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
run: curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=8.14.1 sh -
- name: Install dependencies
run: pnpm install
- run: pnpm run test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
run: curl -fsSL https://get.pnpm.io/install.sh | env SHELL="$(which sh)" PNPM_VERSION=8.14.1 sh -
- name: Install dependencies
run: pnpm install
- run: pnpm run lint
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
run: curl -fsSL https://get.pnpm.io/install.sh | env SHELL="$(which sh)" PNPM_VERSION=8.14.1 sh -
- name: Install dependencies
run: pnpm install
- run: pnpm run format-check
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
run: curl -fsSL https://get.pnpm.io/install.sh | env SHELL="$(which sh)" PNPM_VERSION=8.14.1 sh -
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build