mirror of
https://github.com/duhanbalci/dreport.git
synced 2026-07-01 18:39:16 +00:00
ci fix
This commit is contained in:
@@ -28,6 +28,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: oven-sh/setup-bun@v2
|
- uses: oven-sh/setup-bun@v2
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
targets: wasm32-unknown-unknown
|
||||||
|
- name: Install wasm-pack
|
||||||
|
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
||||||
|
- name: Build WASM
|
||||||
|
run: wasm-pack build layout-engine --target web --release --out-dir ../frontend/src/core/wasm-layout
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: cd frontend && bun install
|
run: cd frontend && bun install
|
||||||
- name: Type check
|
- name: Type check
|
||||||
|
|||||||
1
frontend/.npmrc
Normal file
1
frontend/.npmrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
@duhanbalci:registry=https://gitea.duhanbalci.com/api/packages/duhanbalci/npm/
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
import { ref, onMounted, onBeforeUnmount, watch, computed } from 'vue'
|
import { ref, onMounted, onBeforeUnmount, watch, computed } from 'vue'
|
||||||
import { EditorView, lineNumbers } from '@codemirror/view'
|
import { EditorView, lineNumbers } from '@codemirror/view'
|
||||||
import { EditorState } from '@codemirror/state'
|
import { EditorState } from '@codemirror/state'
|
||||||
import { dexpr } from 'codemirror-lang-dexpr'
|
import { dexpr } from '@duhanbalci/codemirror-lang-dexpr'
|
||||||
import type { DexprLanguageInfo } from 'codemirror-lang-dexpr'
|
import type { DexprLanguageInfo } from '@duhanbalci/codemirror-lang-dexpr'
|
||||||
import { useSchemaStore } from '../../stores/schema'
|
import { useSchemaStore } from '../../stores/schema'
|
||||||
import type { SchemaNode } from '../../core/schema-parser'
|
import type { SchemaNode } from '../../core/schema-parser'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user