Skip to content

Commit ed2495f

Browse files
committed
Adds Angular CI
1 parent 3ddf6fa commit ed2495f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Angular Tests
2+
3+
on:
4+
pull_request:
5+
branches: [ "main" ]
6+
push:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Node.js (Latest LTS)
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 'lts/*' # Use the latest LTS version
21+
cache: 'npm' # Enable caching of npm dependencies
22+
23+
- name: Install dependencies
24+
run: npm ci # 'ci' is typically preferred over 'install' in CI for faster, more reliable builds
25+
26+
- name: Run tests
27+
run: npm run test

0 commit comments

Comments
 (0)