Browse Source

Make yarn job separate steps

integrate-protocol-maker-side
Thomas Eizinger 3 years ago
parent
commit
96b3be2388
No known key found for this signature in database GPG Key ID: 651AC83A6C6C8B96
  1. 11
      .github/workflows/ci.yml

11
.github/workflows/ci.yml

@ -29,6 +29,9 @@ jobs:
- run: cargo clippy --workspace --all-targets -- -D warnings - run: cargo clippy --workspace --all-targets -- -D warnings
yarn: yarn:
defaults:
run:
working-directory: frontend
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -36,11 +39,9 @@ jobs:
with: with:
cache: 'yarn' cache: 'yarn'
cache-dependency-path: frontend/yarn.lock cache-dependency-path: frontend/yarn.lock
- run: | - run: yarn install
yarn install - run: yarn run eslint
yarn run eslint - run: yarn build
yarn build
working-directory: frontend
cargo: cargo:
strategy: strategy:

Loading…
Cancel
Save