diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7946ff..a190113 100644 --- a/.github/workflows/ci.yml +++ b/.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: