format #635
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: Test ui-components | |
on: [push] | |
concurrency: | |
group: ${{ github.ref }}-ui-components | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
COMMIT_SHA: ${{ github.sha }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- run: nix develop -c rainix-sol-prelude | |
working-directory: lib/rain.interpreter | |
- run: nix develop -c rainix-rs-prelude | |
working-directory: lib/rain.interpreter | |
- run: nix develop -c rainix-sol-prelude | |
working-directory: lib/rain.interpreter/lib/rain.metadata | |
- run: nix develop -c rainix-rs-prelude | |
working-directory: lib/rain.interpreter/lib/rain.metadata | |
- run: nix develop -c rainix-sol-prelude | |
- run: nix develop -c rainix-rs-prelude | |
- run: nix develop -c raindex-prelude | |
- run: nix develop -c ob-ui-components-prelude | |
- run: nix develop -c npm run build | |
working-directory: packages/orderbook | |
- run: nix develop -c npm run svelte-lint-format-check | |
working-directory: packages/ui-components | |
- run: nix develop -c npm run test | |
working-directory: packages/ui-components |