build(deps): Bump docker/setup-buildx-action from 3.6.1 to 3.7.0 #355
Workflow file for this run
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: Integration Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
server-ganache: | |
name: server over Ganache integration tests | |
runs-on: smart-contracts-linux-medium | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@446798f8213ac2e75931c1b0769676d927801858 # v2.10.0 | |
with: | |
egress-policy: audit | |
- name: Checkout Code | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
with: | |
submodules: true | |
- name: Setup Node | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: 18 | |
- name: Install make | |
run: sudo apt-get update; sudo apt-get install build-essential -y | |
- name: Apply Sourcify server patch customizations | |
run: npm run server:patch | |
- name: Compile Sourcify server | |
working-directory: ./sourcify | |
run: | | |
npm ci | |
npm run build:lerna | |
- name: Install clean npm instance | |
run: npm ci | |
- name: Run npm test server | |
run: npm run test:server | |
server-local-node: | |
name: server over Hedera's local node integration tests | |
runs-on: smart-contracts-linux-medium | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@446798f8213ac2e75931c1b0769676d927801858 # v2.10.0 | |
with: | |
egress-policy: audit | |
- name: Checkout Code | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
with: | |
submodules: true | |
- name: Setup Node | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: 18 | |
- name: Install make | |
run: sudo apt-get update; sudo apt-get install build-essential -y | |
- name: Apply Sourcify server patch customizations | |
run: npm run server:patch | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Start Hedera Local Node | |
run: npm run local-node:start | |
- name: Start Sourcify server | |
working-directory: ./sourcify | |
run: | | |
npm ci | |
npm run build:lerna | |
cp ../test/sourcify-chains.json ./services/server/dist/ | |
(npm run server:start&) | |
- name: Wait for hedera-sourcify server | |
uses: iFaxity/wait-on-action@a7d13170ec542bdca4ef8ac4b15e9c6aa00a6866 # v1.2.1 | |
with: | |
resource: http://127.0.0.1:5555/chains | |
- name: Start tests | |
run: npm run test:hedera |