Skip to content

Commit

Permalink
update server CI GH Actions to use node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Quintanilla committed Nov 8, 2024
1 parent c3c1305 commit d99ca53
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/server-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,16 @@ jobs:
build-and-test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]

steps:
#1 Checkout the code
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

#2 Setup Node.js environment
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- name: Setup Node.js Environment
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: "20"
cache: "npm"
cache-dependency-path: server/package-lock.json

Expand Down

0 comments on commit d99ca53

Please sign in to comment.