Browse Source
Make yarn job separate steps
integrate-protocol-maker-side
Thomas Eizinger
3 years ago
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96
1 changed files with
6 additions and
5 deletions
-
.github/workflows/ci.yml
|
|
@ -29,6 +29,9 @@ jobs: |
|
|
|
- run: cargo clippy --workspace --all-targets -- -D warnings |
|
|
|
|
|
|
|
yarn: |
|
|
|
defaults: |
|
|
|
run: |
|
|
|
working-directory: frontend |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
@ -36,11 +39,9 @@ jobs: |
|
|
|
with: |
|
|
|
cache: 'yarn' |
|
|
|
cache-dependency-path: frontend/yarn.lock |
|
|
|
- run: | |
|
|
|
yarn install |
|
|
|
yarn run eslint |
|
|
|
yarn build |
|
|
|
working-directory: frontend |
|
|
|
- run: yarn install |
|
|
|
- run: yarn run eslint |
|
|
|
- run: yarn build |
|
|
|
|
|
|
|
cargo: |
|
|
|
strategy: |
|
|
|