-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (36 loc) · 975 Bytes
/
integration.yaml
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
43
44
on:
pull_request:
branches:
- production
paths-ignore:
- '**.md'
- '**.*ignore'
- renovate.json
- '**deployment.yaml'
jobs:
integration:
name: Check branch integration
runs-on: ubuntu-24.04
permissions: read-all
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/[email protected]
- name: Set Nx SHAs
uses: nrwl/nx-set-shas@v4
with:
main-branch-name: production
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Type-check affected projects
run: pnpm affected:typecheck
- name: Build affected projects
run: pnpm affected:build