Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
24b0b743
Commit
24b0b743
authored
Mar 14, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ci
parent
eb1703d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
.gitlab-ci.yml
.gitlab-ci.yml
+11
-11
package.json
package.json
+2
-2
No files found.
.gitlab-ci.yml
View file @
24b0b743
...
@@ -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
...
...
package.json
View file @
24b0b743
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment