π Enable building kdjs with kdjs #593
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 | |
on: | |
push: | |
branches: ["ana", "prod"] | |
pull_request: | |
branches: ["ana", "prod"] | |
jobs: | |
bun_unit_tests: | |
name: bun unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: oven-sh/setup-bun@v2 | |
- run: | | |
bun i | |
bun test --timeout 15000 | |
kdjs_unit_tests_crypto: | |
name: kdjs unit tests, crypto | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: oven-sh/setup-bun@v2 | |
- run: | | |
bun i | |
bun run test crypto | |
kdjs_unit_tests_did: | |
name: kdjs unit tests, did | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: oven-sh/setup-bun@v2 | |
- run: | | |
bun i | |
bun run test did | |
kdjs_unit_tests_others: | |
name: kdjs unit tests, others | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: oven-sh/setup-bun@v2 | |
- run: | | |
bun i | |
bun run test --filter did crypto | |
compile_kdjs_with_kdjs: | |
name: Compile `kdjs` with `kdjs` | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: oven-sh/setup-bun@v2 | |
- run: | | |
bun i | |
bun kdjs/kdjs.js kdjs/kdjs.js |