Merge pull request #4 from Elastic-Networth-Visualizer/feature/postgr… #45
This file contains hidden or 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: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Setup Deno | |
| uses: denoland/setup-deno@v1 | |
| with: | |
| deno-version: v1.x | |
| - name: Format check | |
| run: deno fmt --check | |
| - name: Lint | |
| run: deno lint | |
| - name: Type check | |
| run: deno check mod.ts | |
| - name: Run tests | |
| run: deno test --allow-read --allow-write |