Merge pull request #147 from hyperledger/EnriqueL8-patch-1 #374
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: Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.9.0' | |
- run: npm ci | |
- run: npm run test | |
solidity-test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./samples/solidity | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.9.0' | |
- run: npm ci | |
- run: npm run compile | |
- run: npm run test |