2020-02-14 02:41:20 -06:00
|
|
|
name: matrix
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2020-02-27 01:29:43 -06:00
|
|
|
name: PHP ${{ matrix.os }} ${{ matrix.node}}
|
2020-02-14 02:41:20 -06:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
2020-02-17 12:11:16 -06:00
|
|
|
- run: echo ${NODE_VERSION} | grep ${{ matrix.node }}
|
2020-02-14 02:41:20 -06:00
|
|
|
env:
|
|
|
|
NODE_VERSION: ${{ matrix.node }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-18.04, macos-latest]
|
|
|
|
node: [4, 6, 8, 10]
|
2020-03-04 18:24:14 -06:00
|
|
|
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
node: [8.x, 10.x, 12.x, 13.x]
|
|
|
|
steps:
|
|
|
|
- run: echo ${NODE_VERSION} | grep ${{ matrix.node }}
|
|
|
|
env:
|
|
|
|
NODE_VERSION: ${{ matrix.node }}
|