chore: fix ci

This commit is contained in:
fryorcraken.eth 2022-10-31 09:35:59 +11:00
parent 3f71a0a857
commit cd1d7b813b
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
3 changed files with 12 additions and 10 deletions

View File

@ -21,11 +21,8 @@ jobs:
with:
node-version: ${{ env.NODE_JS }}
- uses: bahmutov/npm-install@v1
- run: npm run test:lint
- run: npm run test:prettier
- run: npm run test:spelling
- run: npm run test:tsc
- run: npm run doc:html
- run: npm run check
- run: npm run doc
build:
runs-on: ubuntu-latest
@ -102,7 +99,7 @@ jobs:
runs-on: ubuntu-latest
env:
GO_WAKU_VERSION: "0.2.2"
WAKU_SERVICE_NODE_DIR: ./go-waku
WAKU_SERVICE_NODE_DIR: ../../go-waku
WAKU_SERVICE_NODE_BIN: ./waku
WAKU_SERVICE_NODE_PARAMS: "--min-relay-peers-to-publish=0" # Can be removed once https://github.com/status-im/nwaku/issues/1004 is done
DEBUG: "waku*"
@ -123,6 +120,7 @@ jobs:
shell: bash
run: |
uname -a
cd packages/core
cd "${WAKU_SERVICE_NODE_DIR}"
"${WAKU_SERVICE_NODE_BIN}" --version

View File

@ -9,7 +9,10 @@
"build": "lerna run build",
"size": "npm run build && size-limit",
"fix": "lerna run fix",
"check": "lerna run check",
"test": "lerna run test",
"test:browser": "lerna run test:browser",
"test:node": "lerna run test:node",
"proto": "lerna run proto",
"doc": "lerna run doc"
},

View File

@ -75,11 +75,12 @@
"pretest:2-build-nwaku": "[ -f '../../nwaku/build/wakunode2' ] || run-s nwaku:build",
"nwaku:build": "(PROC=$(nproc --all 2>/dev/null || echo 2); cd ../../nwaku; make -j$PROC update; NIMFLAGS=\"-d:chronicles_colors=off -d:chronicles_sinks=textlines -d:chronicles_log_level=TRACE\" make -j$PROC wakunode2)",
"nwaku:force-build": "(cd ../../nwaku && rm -rf ./build/ ./vendor) && run-s nwaku:build",
"check": "run-s check:*",
"check:lint": "eslint src --ext .ts",
"check:prettier": "prettier . --list-different",
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
"check:tsc": "tsc -p tsconfig.dev.json",
"test": "run-s test:*",
"test:lint": "eslint src --ext .ts",
"test:prettier": "prettier . --list-different",
"test:spelling": "cspell \"{README.md,src/**/*.ts}\"",
"test:tsc": "tsc -p tsconfig.dev.json",
"test:node": "TS_NODE_PROJECT=./tsconfig.dev.json mocha",
"test:browser": "karma start karma.conf.cjs",
"proto": "rimraf src/proto/*.ts; protons src/proto/*.proto",