limit unit testing to node 12

This commit is contained in:
Karol Wypchlo 2020-03-11 17:27:33 +01:00
parent c18d3f842a
commit ee71920184
1 changed files with 7 additions and 7 deletions

View File

@ -7,21 +7,21 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: ${{ matrix.node-version }} node-version: 12.x
- run: yarn
- name: Install dependencies
run: yarn
- name: Build production bundle - name: Build production bundle
run: yarn build run: yarn build
env: env:
GATSBY_API_URL: "https://siasky.net" GATSBY_API_URL: "https://siasky.net"
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v1 uses: cypress-io/github-action@v1
env: env: