Update steps

This commit is contained in:
Jaco Greeff
2020-11-02 21:25:00 +01:00
parent 1d7addf6ef
commit 511986b7cf
2 changed files with 7 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ jobs:
pr:
strategy:
matrix:
step: ['lint', 'test:wasm:rust', 'build']
step: ['lint', 'test', 'build']
name: ${{ matrix.step }}
runs-on: ubuntu-latest
steps:

View File

@@ -11,12 +11,16 @@
"typescript": "^4.0.3"
},
"scripts": {
"build": "./scripts/build.sh",
"build": "yarn build:wasm",
"build:release": "polkadot-ci-ghact-build",
"build:wasm": "./scripts/build.sh",
"lint": "polkadot-dev-run-lint",
"clean": "./scripts/clean.sh",
"postinstall": "polkadot-dev-yarn-only",
"test:wasm:js": "polkadot-dev-run-test ./test/jest.spec.js && cd packages/wasm-crypto && node ./test/wasm.js && node ./test/asm.js",
"test": "yarn test:wasm:rust",
"test:wasm:js": "yarn test:wasm:js:jest && yarn test:wasm:js:node",
"test:wasm:js:jest": "polkadot-dev-run-test ./test/jest.spec.js",
"test:wasm:js:node": "cd packages/wasm-crypto && node ./test/wasm.js && node ./test/asm.js",
"test:wasm:rust": "cd packages/wasm-crypto && RUST_BACKTRACE=full cargo test --release -- --nocapture"
},
"devDependencies": {