File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
- name : Build, Test, and Deploy
1
+ name : Test
2
2
3
3
on :
4
4
push :
@@ -15,22 +15,22 @@ jobs:
15
15
steps :
16
16
- uses : actions/checkout@v3
17
17
18
+ # Set up Node.js
18
19
- name : Set up Node.js
19
20
uses : actions/setup-node@v3
20
21
with :
21
- node-version : ' 20' # Use Node.js 18.x version (or specify your Node version)
22
- cache : ' pnpm'
22
+ node-version : ' 20' # Specify Node.js version
23
23
24
- # Install pnpm globally
25
- - name : Install pnpm
26
- run : npm install -g pnpm
24
+ # Set up pnpm using the official pnpm action
25
+ - name : Set up pnpm
26
+
27
+ with :
28
+ version : 8.0.0 # Specify the pnpm version you want to use
27
29
28
- # Install project dependencies using pnpm
30
+ # Install dependencies using pnpm
29
31
- name : Install dependencies
30
32
run : pnpm install
31
33
32
34
# Run tests
33
35
- name : Run tests
34
36
run : pnpm test
35
-
36
- # Optionally, add a build or deployment step here if required
You can’t perform that action at this time.
0 commit comments