We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ddf6fa commit ed2495fCopy full SHA for ed2495f
.github/workflows/angular-tests.yml
@@ -0,0 +1,27 @@
1
+name: Angular Tests
2
+
3
+on:
4
+ pull_request:
5
+ branches: [ "main" ]
6
+ push:
7
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