mirror of
https://github.com/zhigang1992/styled-components.git
synced 2026-04-29 09:45:54 +08:00
fix tests
This commit is contained in:
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user