Browse Source

Fix invalid CI configuration

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

28
.github/workflows/ci.yml

@ -23,20 +23,34 @@ jobs:
toolchain: stable
components: clippy
- uses: actions/setup-node@v2
with:
cache: 'yarn'
cache-dependency-path: frontend/yarn.lock
- name: Run clippy with default features
run: cargo clippy --workspace --all-targets -- -D warnings
- name: print hello world
uses: actions/setup-node@v2
- name: Run eslint
working-directory: frontend
run: |
yarn install
yarn run eslint
build_frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
cache: 'yarn'
cache-dependency-path: frontend/yarn.lock
run: yarn install
run: cd frontend && yarn run eslint
cd frontend && yarn build
- run: |
yarn install
yarn build
working-directory: frontend
cargo_test:
strategy:
matrix:
target: [ x86_64-unknown-linux-gnu, x86_64-apple-darwin ]

Loading…
Cancel
Save