Skip to content

Commit

Permalink
sdsdsd
Browse files Browse the repository at this point in the history
  • Loading branch information
godber committed Aug 5, 2023
1 parent 3f41510 commit c3e6212
Showing 1 changed file with 20 additions and 13 deletions.
33 changes: 20 additions & 13 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,31 @@ jobs:
setup:
runs-on: ubuntu-latest
steps:
- run: printenv
- run: echo $MATRIX
- run: |
echo "MATRIX: $MATRIX" >> $GITHUB_OUTPUT
# - run: echo $MATRIX | jq .
- run: echo "matrix=$MATRIX" >> $GITHUB_OUTPUT
outputs:
matrix: ${{ toJson(steps.*.outputs.matrix) }}


build:
check:
runs-on: ubuntu-latest
needs:
setup
runs-on: ubuntu-latest
strategy:
matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn test
- run: printenv

# build:
# needs:
# setup
# runs-on: ubuntu-latest
# strategy:
# matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
# steps:
# - uses: actions/checkout@v3
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# - run: yarn test
# - run: printenv

0 comments on commit c3e6212

Please sign in to comment.