File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 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
22
33on :
44 push :
@@ -15,22 +15,22 @@ jobs:
1515 steps :
1616 - uses : actions/checkout@v3
1717
18+ # Set up Node.js
1819 - name : Set up Node.js
1920 uses : actions/setup-node@v3
2021 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
2323
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
2729
28- # Install project dependencies using pnpm
30+ # Install dependencies using pnpm
2931 - name : Install dependencies
3032 run : pnpm install
3133
3234 # Run tests
3335 - name : Run tests
3436 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