Skip to content

Commit

Permalink
[web] add vitest #948 (#953)
Browse files Browse the repository at this point in the history
* vitest added

* Delete GITHUB_OUTPUT

---------

Co-authored-by: Michael Vlach <vlach.michael@gmail.com>
  • Loading branch information
janavlachova and michaelvlach authored Dec 30, 2023
1 parent c708098 commit 8b55c3a
Show file tree
Hide file tree
Showing 9 changed files with 1,791 additions and 84 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/agdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ name: agdb
on:
pull_request:
branches: ["main"]
paths:
- agdb/**
- agdb_derive/**
- .github/workflows/agdb.yaml

jobs:
diff:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/agdb_studio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ name: agdb_studio
on:
pull_request:
branches: ["main"]
paths:
- agdb_studio/**
- agdb_api/typescript/src/**
- agdb_api/typescript/package.json
- agdb_server/openapi/schema.json
- .github/workflows/agdb_studio.yaml

jobs:
diff:
Expand Down
1 change: 0 additions & 1 deletion GITHUB_OUTPUT

This file was deleted.

14 changes: 13 additions & 1 deletion agdb_web/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
import { fileURLToPath, URL } from "node:url";

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ["@nuxt/content"],
modules: ["@nuxt/content", "@nuxt/test-utils/module"],
vite: {
resolve: {
alias: {
"@": fileURLToPath(new URL(".", import.meta.url)),
},
},
build: {
target: ["es2015", "edge88", "firefox78", "chrome87", "safari12"],
},
},
});
Loading

0 comments on commit 8b55c3a

Please sign in to comment.