mirror of
https://github.com/fluencelabs/assemblyscript-json
synced 2025-04-24 14:22:22 +00:00
Simplify CI to run in one stage, don’t use test:ci
This commit is contained in:
parent
b40420174a
commit
7b5cb0a248
@ -1,21 +1,14 @@
|
||||
image: node:latest
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- node_modules/
|
||||
|
||||
install_dependencies:
|
||||
stage: build
|
||||
script:
|
||||
- npm install
|
||||
artifacts:
|
||||
paths:
|
||||
- node_modules/
|
||||
|
||||
run_tests:
|
||||
stage: test
|
||||
script: npm run test:ci
|
||||
script:
|
||||
- npm install
|
||||
- npm run test
|
||||
|
@ -6,8 +6,7 @@
|
||||
"asbuild:untouched": "asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --validate --debug",
|
||||
"asbuild:optimized": "asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap --validate --optimize",
|
||||
"asbuild": "npm run asbuild:untouched && npm run asbuild:optimized",
|
||||
"test": "asp",
|
||||
"test:ci": "asp --reporter=SummaryTestReporter"
|
||||
"test": "asp"
|
||||
},
|
||||
"devDependencies": {
|
||||
"assemblyscript": "github:assemblyscript/assemblyscript",
|
||||
|
Loading…
x
Reference in New Issue
Block a user