BREAKING: Refactor whole codebase #1008
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: master | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Tests | |
run: | | |
cd tests | |
docker-compose up -d drivers | |
docker exec drivers deno test -A --config tsconfig.json --no-check=remote tests/integration | |
docker exec drivers deno test -A --config tsconfig.json --no-check=remote tests/unit | |
linter: | |
# Only one OS is required since fmt is cross platform | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: vx.x.x | |
- name: Lint | |
run: deno lint --ignore=examples | |
- name: Formatter | |
run: deno fmt --check |