-
Notifications
You must be signed in to change notification settings - Fork 1
27 lines (27 loc) · 908 Bytes
/
ci.yml
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
name: CI
on:
push:
branches: ['main']
pull_request:
branches: ['main']
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.11.0
- uses: pnpm/action-setup@v2
with:
version: 8.15.1
- name: Install Depdendencies
run: pnpm install
- name: Build and run tests for pnpm-sync-lib
run: pnpm --filter pnpm-sync-lib run build && pnpm --filter pnpm-sync-lib run test
- name: Build and run tests for pnpm-sync
run: pnpm --filter pnpm-sync run build && pnpm --filter pnpm-sync run test
- name: Build and run tests for pnpm-sync-api-demo
run: pnpm --filter pnpm-sync-api-demo run build && pnpm --filter pnpm-sync-api-demo run test