Skip to content

Commit

Permalink
fix: update pipeline to run NestJS example app tests
Browse files Browse the repository at this point in the history
Also updated the Node.js version matrix to the current versions.
  • Loading branch information
Josuto committed Feb 10, 2024
1 parent d395f66 commit 45ef764
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
node-version: [ 18.x, 20.x ]
os: [ubuntu-latest, windows-latest]
node-version: [18.x, 20.x]
steps:
- name: Code Checkout 🛎️
uses: actions/checkout@v3
Expand All @@ -32,8 +32,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
node-version: [ 18.x, 20.x ]
os: [ubuntu-latest, windows-latest]
node-version: [18.x, 20.x, 21.x]
steps:
- name: Code Checkout 🛎️
uses: actions/checkout@v3
Expand All @@ -48,8 +48,12 @@ jobs:
- name: Install NestJS Example App Dependencies 💾
run: |
cd ./examples/nestjs-mongoose-book-manager
yarn install -f
yarn install --force
- name: Build NestJS Example App 🔧
run: yarn build
run: |
cd ./examples/nestjs-mongoose-book-manager
yarn build
- name: Run NestJS Example App Tests 🧪
run: yarn test
run: |
cd ./examples/nestjs-mongoose-book-manager
yarn test

0 comments on commit 45ef764

Please sign in to comment.