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: ...@@ -22,17 +22,17 @@ npm_ci:
dependencies: dependencies:
- npm_ci - npm_ci
ts_check: # ts_check:
dependencies: # dependencies:
- npm_ci # - npm_ci
stage: check # stage: check
tags: # tags:
- linux # - linux
before_script: # before_script:
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh # - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
script: # script:
- wasm-pack build ./rust-src --target web # - wasm-pack build ./rust-src --target web
- npx tsc # - npx tsc
rs_check: rs_check:
stage: check stage: check
......
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
"scripts": { "scripts": {
"wasm": "wasm-pack build ./rust-src --target web", "wasm": "wasm-pack build ./rust-src --target web",
"dev": "npm run wasm && vite", "dev": "npm run wasm && vite",
"build": "vite build && cp -r neos-assets dist/", "build": "tsc && vite build && cp -r neos-assets dist/",
"build:prod": "vite build --base=https://cdn02.moecube.com:444/neos/", "build:prod": "tsc && vite build --base=https://cdn02.moecube.com:444/neos/",
"preview": "vite preview", "preview": "vite preview",
"lint": "eslint --ext .ts --ext .tsx src", "lint": "eslint --ext .ts --ext .tsx src",
"fmt": "eslint --ext .ts --ext .tsx src --fix && cd rust-src && cargo fmt", "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