Skip to content

Commit

Permalink
fix my yml syntax - attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ndv99 committed Nov 16, 2023
1 parent b62f92a commit c6cbdf2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -33,6 +38,7 @@ jobs:

test:
name: Test
needs: read-node-version
runs-on: ubuntu-22.04
strategy:
matrix:
Expand Down

0 comments on commit c6cbdf2

Please sign in to comment.