2020-02-14 08:41:20 +00:00
|
|
|
name: matrix
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2020-02-27 07:29:43 +00:00
|
|
|
name: PHP ${{ matrix.os }} ${{ matrix.node}}
|
2020-02-14 08:41:20 +00:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
2020-02-17 18:11:16 +00:00
|
|
|
- run: echo ${NODE_VERSION} | grep ${{ matrix.node }}
|
2020-02-14 08:41:20 +00:00
|
|
|
env:
|
|
|
|
NODE_VERSION: ${{ matrix.node }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-18.04, macos-latest]
|
|
|
|
node: [4, 6, 8, 10]
|
2020-03-05 00:24:14 +00: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 }}
|