Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nnivxix authored Oct 3, 2024
1 parent 6b3b3c0 commit e2bf33e
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,27 @@ jobs:

strategy:
matrix:
node-version: [ 20.x]
node-version: [ 20.x ]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4

# Setup Node.js version
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm test

# Install pnpm
- name: Install pnpm
run: npm install -g pnpm

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

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

0 comments on commit e2bf33e

Please sign in to comment.