Skip to content

Commit

Permalink
Continuous Integration: Test Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCode92 committed Mar 6, 2024
1 parent e9332b0 commit aedfd2a
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,20 @@ on:
- main
jobs:
build:
env:
CI: true
MONGO_TEST_URL: ${{ secrets.MONGO_TEST_URL }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18.x, 20.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js version 16
uses: actions/setup-node@v2
- uses: actions/checkout@v3
- name: Use Node.js version ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 16
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --prefix client
- run: npm test

0 comments on commit aedfd2a

Please sign in to comment.