Commit 24b0b743 authored by Chunchi Che's avatar Chunchi Che

fix ci

parent eb1703d7
Pipeline #20691 failed with stages
in 20 minutes and 42 seconds
......@@ -22,17 +22,17 @@ npm_ci:
dependencies:
- npm_ci
ts_check:
dependencies:
- npm_ci
stage: check
tags:
- linux
before_script:
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
script:
- wasm-pack build ./rust-src --target web
- npx tsc
# ts_check:
# dependencies:
# - npm_ci
# stage: check
# tags:
# - linux
# before_script:
# - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
# script:
# - wasm-pack build ./rust-src --target web
# - npx tsc
rs_check:
stage: check
......
......@@ -36,8 +36,8 @@
"scripts": {
"wasm": "wasm-pack build ./rust-src --target web",
"dev": "npm run wasm && vite",
"build": "vite build && cp -r neos-assets dist/",
"build:prod": "vite build --base=https://cdn02.moecube.com:444/neos/",
"build": "tsc && vite build && cp -r neos-assets dist/",
"build:prod": "tsc && vite build --base=https://cdn02.moecube.com:444/neos/",
"preview": "vite preview",
"lint": "eslint --ext .ts --ext .tsx src",
"fmt": "eslint --ext .ts --ext .tsx src --fix && cd rust-src && cargo fmt",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment