Skip to content

Commit

Permalink
git actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikos Katsikanis committed Sep 28, 2024
1 parent 8863c58 commit c9608dd
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Test and Install

on:
push:
Expand All @@ -19,18 +19,12 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20' # Specify Node.js version
node-version: '20' # Specify the Node.js version you are using

# Set up pnpm using the official pnpm action
- name: Set up pnpm
uses: pnpm/action-setup@v2.2.4
with:
version: 8.0.0 # Specify the pnpm version you want to use

# Install dependencies using pnpm
# Install dependencies using npm
- name: Install dependencies
run: pnpm install
run: npm install

# Run tests
# Run tests using npm
- name: Run tests
run: pnpm test
run: npm test

0 comments on commit c9608dd

Please sign in to comment.