From c6cbdf2e082fdf3fabe4f85138a59f05948c5ca5 Mon Sep 17 00:00:00 2001 From: Nick De Villiers Date: Thu, 16 Nov 2023 09:10:46 +0000 Subject: [PATCH] fix my yml syntax - attempt 2 --- .github/workflows/test.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fc46aad824..554f33c397 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,10 +6,15 @@ on: pull_request: types: [opened, synchronize, reopened] jobs: - - name: Read .nvmrc - run: echo NVMRC=`cat .nvmrc` >> $GITHUB_ENV + read-node-version: + name: "Read NodeJS version" + runs-on: ubuntu-22.04 + steps: + - name: "Read .nvmrc" + run: "echo NVMRC=`cat .nvmrc` >> $GITHUB_ENV" lint: name: Lint + needs: read-node-version runs-on: ubuntu-22.04 strategy: matrix: @@ -33,6 +38,7 @@ jobs: test: name: Test + needs: read-node-version runs-on: ubuntu-22.04 strategy: matrix: