We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8fcfa7 commit eceed93Copy full SHA for eceed93
1 file changed
.github/workflows/task-2.yaml
@@ -1,9 +1,7 @@
1
name: task-2-workflow
2
run-name: Task 2 workflow
3
-on:
4
- pull_request:
5
- branches:
6
- - main
+on:
+ pull_request
7
defaults:
8
run:
9
working-directory: desktop-app
@@ -13,7 +11,13 @@ jobs:
13
11
steps:
14
12
- name: Checkout code
15
uses: actions/checkout@v4
+ - name: Use Node.js LTS
+ uses: actions/setup-node@v4
16
+ with:
17
+ node-version: "lts/*"
18
+ cache: "npm"
19
+ cache-dependency-path: desktop-app
20
- name: Install dependencies
- run: npm install
21
+ run: npm ci
22
- name: Run unit tests
23
run: npm test
0 commit comments