From 45ef76485dc4f96b0780e8faa5362822ab6e4d0f Mon Sep 17 00:00:00 2001 From: Josu Martinez <6097850+Josuto@users.noreply.github.com> Date: Sat, 10 Feb 2024 11:13:03 +0100 Subject: [PATCH] fix: update pipeline to run NestJS example app tests Also updated the Node.js version matrix to the current versions. --- .github/workflows/pipeline.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 69679ed..c92146d 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -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 @@ -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 @@ -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 \ No newline at end of file + run: | + cd ./examples/nestjs-mongoose-book-manager + yarn test