Skip to content

test: validate json files #88

test: validate json files

test: validate json files #88

Workflow file for this run

name: Build project and run tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
# defaults:
# run:
# working-directory: app
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
cache-dependency-path: pnpm-lock.yaml
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Run tests
run: pnpm test