Skip to content

Commit 8863c58

Browse files
author
Nikos Katsikanis
committed
git actions
1 parent ab0e572 commit 8863c58

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/test.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build, Test, and Deploy
1+
name: Test
22

33
on:
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+
uses: pnpm/[email protected]
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

0 commit comments

Comments
 (0)