-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 825 Bytes
/
portal-ci.yml
File metadata and controls
44 lines (35 loc) · 825 Bytes
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
name: Portal CI
on:
push:
branches:
- main
pull_request:
branches:
- main
- "features/*"
jobs:
build-and-test:
name: Build and Check
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/portal
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: "24"
cache: "yarn"
cache-dependency-path: "apps/portal/yarn.lock"
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install
- name: Run Prettier check
run: yarn prettier:check
- name: Run TypeScript check
run: yarn tsc
- name: Run build
run: yarn build:all