From 0a5217edae87b58643e1052622eba8dd9a4da99c Mon Sep 17 00:00:00 2001 From: ChristopherPHolder Date: Mon, 20 Nov 2023 12:43:52 +0100 Subject: [PATCH] fix: fix ci job --- .github/workflows/ci.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7bd3022ae..b85a7e63f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,18 +10,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x] + node-version: [18] + name: Node ${{ matrix.node }} steps: - uses: actions/checkout@v4 - - name: use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + - name: Setup node + uses: actions/setup-node@v4 with: - cache: 'npm' - node-version: ${{ matrix.node-version }} - - name: install - run: npm ci - - name: build - run: npm run nx -- affected:build - - name: test - run: npm run nx -- affected:test --parallel=1 + node-version: ${{ matrix.node }} + - run: npm ci + - run: npm run nx -- affected:build + - run: npm run nx -- affected:test --parallel=1