Merge remote-tracking branch 'upstream/main' #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Node JS tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: '*' | |
jobs: | |
nodejs_18: | |
name: Run Node.js 18 sample tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 18.7.0 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.7.0 | |
- name: test sourcing nvm.sh | |
run: source "$HOME/.nvm/nvm.sh" | |
shell: bash | |
- name: test nvm command | |
shell: bash -l -eo pipefail {0} | |
run: nvm ls | |
- name: "Run Node.js collator sample" | |
shell: bash -l -eo pipefail {0} | |
run: | | |
source "$HOME/.nvm/nvm.sh" | |
cd testdriver | |
bash runAll_node_local.sh | |
cd ../verifier | |
bash verifyNode_local.sh |