Commit 95e4626b authored by Chunchi Che's avatar Chunchi Che

fix ci

parent 25957350
Pipeline #20651 failed with stages
in 11 minutes and 24 seconds
...@@ -19,20 +19,31 @@ npm_ci: ...@@ -19,20 +19,31 @@ npm_ci:
- linux - linux
dependencies: dependencies:
- npm_ci - npm_ci
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
npm_lint: ts_lint:
extends: .build_base extends: .build_base
stage: lint stage: lint
tags: tags:
- linux - linux
script: npm run lint script: npm run lint
rs_lint:
extends: .build_base
stage: lint
image: rust:latest
tags:
- linux
script:
- rustup component add clippy
- cd rust-src && cargo clippy -- -Dwarnings
npm_build: npm_build:
extends: .build_base extends: .build_base
stage: build stage: build
tags: tags:
- linux - linux
before_script:
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
script: script:
- mv neos.config.prod.json neos.config.json - mv neos.config.prod.json neos.config.json
- npm run build:prod - npm run build:prod
......
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