-
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 707 Bytes
/
Copy pathtest.yml
File metadata and controls
32 lines (29 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Build and test
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
lint_and_typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: backend/.nvmrc
- name : Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm i
- name: lint all workspaces
run: pnpm run -r lint
- name: build all workspaces
run: pnpm run -r build
#- name: unit test (with coverage)
# run: pnpm run test:cov
#- name: e2e test
# run: pnpm run test:e2e