-
-
Notifications
You must be signed in to change notification settings - Fork 7
42 lines (38 loc) · 1.1 KB
/
ci.yml
File metadata and controls
42 lines (38 loc) · 1.1 KB
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
33
34
35
36
37
38
39
40
41
42
name: ci
on:
pull_request:
paths-ignore:
- '*.md'
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
name: Node ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}
- name: install
run: npm ci
- name: build
run: npm run nx -- run-many -t build --skip-nx-cache --parallel=false
- name: test
run: npm run nx -- run-many -t test --skip-nx-cache --parallel=false
# # Code PushUp command
# - name: Collect and upload Code PushUp report
# run: npx code-pushup autorun
# env:
# CP_API_KEY: ${{ secrets.CP_API_KEY }}
# NODE_OPTIONS: --max-old-space-size=8192
# - name: Save report files as workflow artifact
# uses: actions/upload-artifact@v4
# with:
# name: code-pushup-report
# path: .code-pushup/