fix tests

This commit is contained in:
Evan Jacobs
2021-05-05 12:14:51 -04:00
parent 9251aafa84
commit a640a2919b

View File

@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["10", "12", "14"]
node: ["12", "14", "16"]
steps:
- uses: actions/checkout@v2
@@ -35,15 +35,16 @@ jobs:
- run: yarn --pure-lockfile
- name: Jest
run: yarn test
- name: Lint
run: yarn lint
if: matrix.node == '10'
if: matrix.node == '12'
- name: Build
run: yarn build
if: matrix.node == '10'
# temporarily always build until https://github.com/kentcdodds/babel-plugin-macros/pull/175 is available
# if: matrix.node == '12'
env:
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
- name: Jest
run: yarn test