-
Notifications
You must be signed in to change notification settings - Fork 26
43 lines (33 loc) · 892 Bytes
/
ci.yml
File metadata and controls
43 lines (33 loc) · 892 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
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
# tslint is deprecated — failures warn but do not block
continue-on-error: true
- name: Test
run: npm run test:ci
- name: Build
run: npx ng build --configuration=production
env:
NODE_OPTIONS: --max-old-space-size=4096
- name: Security audit
run: npm audit --audit-level=high
# Snyk manages fixes via PRs; audit here surfaces new issues without blocking
continue-on-error: true