Commit 5984c60 1 parent 0ad8dbe commit 5984c60 Copy full SHA for 5984c60
File tree 1 file changed +21
-9
lines changed
1 file changed +21
-9
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
9
9
steps :
10
- - uses : actions/checkout@v1
11
- - name : Use Node.js 16.16.0
12
- uses : actions/setup-node@v1
13
- with :
14
- node-version : 16.0
15
- - name : Install dependencies
16
- run : npm install
17
- - name : Test
18
- run : npm test -- --watch=false --browsers=ChromeHeadless
10
+ - name : Checkout repo
11
+ uses : actions/checkout@v3 # Update to latest stable version
12
+
13
+ - name : Use Node.js 18 # Update to a stable LTS version (16 is outdated)
14
+ uses : actions/setup-node@v3
15
+ with :
16
+ node-version : 18
17
+
18
+ - name : Install dependencies (clean install)
19
+ run : npm ci # More reliable than 'npm install' for CI
20
+
21
+ - name : Install Chrome for Headless Tests
22
+ run : |
23
+ sudo apt-get update
24
+ sudo apt-get install -y google-chrome-stable
25
+
26
+ - name : Test
27
+ run : npm test -- --watch=false --browsers=ChromeHeadless
28
+
29
+ - name : Debug Installed Angular Packages
30
+ run : npm list @angular/material
You can’t perform that action at this time.
0 commit comments