-
Notifications
You must be signed in to change notification settings - Fork 2
28 lines (25 loc) · 896 Bytes
/
check.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
28
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Build check
on:
pull_request:
types: [opened, synchronize]
jobs:
build:
name: Build Monorepo
runs-on: ubuntu-latest
steps:
- name: 🚧 Checkout code
uses: actions/checkout@v4
- name: 🥁 Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: ♻️ NPM CI
run: npm ci
- name: 🛠 Build All packages
run: npm run lerna -- run build
- name: 🧪 Test all packages with coverage
run: npm run lerna -- run coverage
- name: 📊 Upload test results to Codecov
uses: codecov/codecov-action@v4