mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-04-28 18:38:34 -05:00
[core] Add Test Setup for Deno (#97)
This commit uses the "Continuous Integration" GitHub Action, to run tests for the Deno code, which is used by the Supabase functions and our Docker containers. This commit also adds a first test so that the `deno test` command does not fail.
This commit is contained in:
17
.github/workflows/continuous-integration.yaml
vendored
17
.github/workflows/continuous-integration.yaml
vendored
@@ -34,3 +34,20 @@ jobs:
|
||||
- name: Test
|
||||
run: |
|
||||
flutter test
|
||||
|
||||
deno:
|
||||
name: Deno
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Deno
|
||||
uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version: v1.x
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
deno test --import-map=supabase/functions/import_map.json supabase/functions
|
||||
|
||||
Reference in New Issue
Block a user