Added cover scaling #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
cache: true | |
cache-workspaces: true | |
components: clippy, rustfmt | |
toolchain: 1.83.0 | |
- name: 'Install dependencies: Node' | |
run: yarn | |
- name: 'Install dependencies: Rust' | |
run: cargo fetch | |
- name: 'Install dependencies: wasm-pack' | |
run: cargo install wasm-pack | |
- name: 'Install dependencies: typeshare' | |
run: cargo install typeshare-cli | |
- name: 'Install dependencies: wasm32-unknown-unknown' | |
run: rustup target add wasm32-unknown-unknown | |
- name: 'Build' | |
run: yarn build | |
- name: 'Lint' | |
run: yarn lint | |
- name: 'Test' | |
run: yarn test:ci | |
- name: 'Deploy' | |
run: 'yarn firebase deploy --token ${{ secrets.FIREBASE_TOKEN }}' |