Skip to content

Restructure Assignment OpenAI and Moss Config #194

Restructure Assignment OpenAI and Moss Config

Restructure Assignment OpenAI and Moss Config #194

Workflow file for this run

name: Test Frontend
on:
push:
branches:
- master
paths:
- 'frontend/**'
pull_request:
branches:
- master
paths:
- 'frontend/**'
jobs:
frontend:
name: Frontend
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Set up Node.js LTS
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'pnpm'
cache-dependency-path: frontend/pnpm-lock.yaml
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Audit
run: pnpm audit
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test:ci