Skip to content

Commit

Permalink
Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gRoussac committed Jan 28, 2025
1 parent d561e17 commit 2d3c0dc
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/ci-casper-rust-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,7 @@ jobs:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'

- name: Install
working-directory: client-js
run: npm install

- name: Generate WASMS
working-directory: ./client-js
run: npm run generate:wasm

- name: Unit test
working-directory: client-js
run: npm run test:unit

- name: Launch casper-node-launcher-js
- name: Casper node launcher js
run: |
git clone --branch dist_folder https://github.com/casper-network/casper-node-launcher-js.git
cd casper-node-launcher-js
Expand All @@ -74,6 +62,14 @@ jobs:
NODE_URL: http://127.0.0.1:7777/rpc
EVENT_STREAM_ADDRESS: http://127.0.0.1:9999/events/main

- name: Install
working-directory: client-js
run: npm install

- name: Generate WASMS
working-directory: client-js
run: npm run generate:wasm

- name: Integration test
working-directory: client-js
run: npm run test:e2e && npx casper-node-launcher-js stop

0 comments on commit 2d3c0dc

Please sign in to comment.