Browse Source
Fix invalid CI configuration
integrate-protocol-maker-side
Thomas Eizinger
4 years ago
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96
1 changed files with
21 additions and
7 deletions
-
.github/workflows/ci.yml
|
@ -23,20 +23,34 @@ jobs: |
|
|
toolchain: stable |
|
|
toolchain: stable |
|
|
components: clippy |
|
|
components: clippy |
|
|
|
|
|
|
|
|
|
|
|
- uses: actions/setup-node@v2 |
|
|
|
|
|
with: |
|
|
|
|
|
cache: 'yarn' |
|
|
|
|
|
cache-dependency-path: frontend/yarn.lock |
|
|
|
|
|
|
|
|
- name: Run clippy with default features |
|
|
- name: Run clippy with default features |
|
|
run: cargo clippy --workspace --all-targets -- -D warnings |
|
|
run: cargo clippy --workspace --all-targets -- -D warnings |
|
|
|
|
|
|
|
|
- name: print hello world |
|
|
- name: Run eslint |
|
|
uses: actions/setup-node@v2 |
|
|
working-directory: frontend |
|
|
|
|
|
run: | |
|
|
|
|
|
yarn install |
|
|
|
|
|
yarn run eslint |
|
|
|
|
|
|
|
|
|
|
|
build_frontend: |
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
steps: |
|
|
|
|
|
- uses: actions/setup-node@v2 |
|
|
with: |
|
|
with: |
|
|
cache: 'yarn' |
|
|
cache: 'yarn' |
|
|
|
|
|
cache-dependency-path: frontend/yarn.lock |
|
|
|
|
|
|
|
|
run: yarn install |
|
|
- run: | |
|
|
|
|
|
yarn install |
|
|
run: cd frontend && yarn run eslint |
|
|
yarn build |
|
|
|
|
|
working-directory: frontend |
|
|
cd frontend && yarn build |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cargo_test: |
|
|
strategy: |
|
|
strategy: |
|
|
matrix: |
|
|
matrix: |
|
|
target: [ x86_64-unknown-linux-gnu, x86_64-apple-darwin ] |
|
|
target: [ x86_64-unknown-linux-gnu, x86_64-apple-darwin ] |
|
|