mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-03-19 15:01:06 +08:00
chore: Fix Github actions tests.
This commit is contained in:
parent
adeb89bf5e
commit
5a63adef94
6
.github/workflows/test-pulls.yml
vendored
6
.github/workflows/test-pulls.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
with:
|
||||
node-version: '12.x'
|
||||
- uses: actions/checkout@v2
|
||||
- name: Check yarn cache integrity
|
||||
- name: yarn install
|
||||
run: yarn install
|
||||
- name: Build packages
|
||||
run: yarn build --ignore='@lowdefy/blocks-*'
|
||||
@ -42,14 +42,14 @@ jobs:
|
||||
with:
|
||||
node-version: '12.x'
|
||||
- uses: actions/checkout@v2
|
||||
- name: Check yarn cache integrity
|
||||
- name: yarn install
|
||||
run: yarn install
|
||||
- name: Build packages
|
||||
run: yarn build --ignore='@lowdefy/build' --ignore='@lowdefy/cli' --ignore='@lowdefy/engine' --ignore='@lowdefy/graphql*' --ignore='@lowdefy/layout' --ignore='@lowdefy/node-utils' --ignore='@lowdefy/operators' --ignore='@lowdefy/renderer' --ignore='@lowdefy/server*'
|
||||
|
||||
# format tests don't pass on node 12 since icu is missing and tests don't work with locales
|
||||
- name: Test packages
|
||||
run: yarn test --ignore='@lowdefy/format' --ignore='@lowdefy/build' --ignore='@lowdefy/cli' --ignore='@lowdefy/engine' --ignore='@lowdefy/graphql*' --ignore='@lowdefy/layout' --ignore='@lowdefy/node-utils' --ignore='@lowdefy/operators' --ignore='@lowdefy/renderer' --ignore='@lowdefy/server*'
|
||||
run: yarn test --scope='@lowdefy/blocks-*'
|
||||
|
||||
- name: Upload coverage to codecov
|
||||
run: bash <(curl -s https://codecov.io/bash)
|
||||
|
Loading…
x
Reference in New Issue
Block a user