diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b698844..8826804 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,11 +11,14 @@ jobs: lint: name: 'lint' runs-on: ubuntu-latest + strategy: + matrix: + node: [12, 14, 16] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '14' + node-version: ${{ matrix.node }} cache: 'yarn' - name: Install dependencies run: yarn --ignore-scripts --frozen-lockfile @@ -25,11 +28,14 @@ jobs: # name: 'unit' # needs: [lint] # runs-on: ubuntu-latest + # strategy: + # matrix: + # node: [12, 14, 16] # steps: # - uses: actions/checkout@v2 # - uses: actions/setup-node@v2 # with: - # node-version: '14' + # node-version: ${{ matrix.node }} # cache: 'yarn' # - name: Install dependencies # run: yarn --ignore-scripts --frozen-lockfile