-
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-22.04
permissions: read-all
steps:
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/[email protected]
- name: Set Nx SHAs
uses: nrwl/nx-set-shas@v3
with:
main-branch-name: production
- name: Setup Node
uses: actions/setup-node@v3
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