Skip to content

Commit

Permalink
chore(template): sync with ahmadnassri/template-node-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri committed Feb 27, 2021
1 parent 536507c commit b3fe32c
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,29 @@ jobs:
- uses: actions/checkout@v2
- run: npm audit --audit-level=critical

strategy:
timeout-minutes: 5

needs: deduplicate

runs-on: ubuntu-latest

outputs:
matrix: ${{ steps.parse.outputs.matrix }}

steps:
- uses: actions/checkout@v2
- id: parse
run: echo "::set-output name=matrix::$(jq -c . < .github/matrix.json)"

test:
needs: [ strategy, audit ]

timeout-minutes: 5

needs: audit

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [12, 14, 15]
matrix: ${{ fromJSON(needs.strategy.outputs.matrix) }}

runs-on: ${{ matrix.os }}

Expand Down

0 comments on commit b3fe32c

Please sign in to comment.