feat: update version (#357) #1049
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: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Reclaim some disk space | |
run: docker system prune --all --volumes -f | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: | | |
yarn | |
- name: Compile and lint | |
run: | | |
yarn run build | |
yarn run lint | |
- name: Check code formatting | |
run: yarn format:check | |
- uses: nevermined-io/[email protected] | |
with: | |
token: ${{ secrets.API_TOKEN_GITHUB }} | |
estuary: 'true' | |
node: 'false' | |
- name: Check artifacts | |
run: | | |
nvm-tools copy-artifacts ./artifacts | |
ls -l artifacts | |
nvm-tools copy-circuits ./circuits | |
ls -l circuits | |
- name: Run node | |
env: | |
IPFS_PROJECT_ID: ${{ secrets.IPFS_PROJECT_ID }} | |
IPFS_PROJECT_SECRET: ${{ secrets.IPFS_PROJECT_SECRET }} | |
run: | | |
yarn setup:dev | |
yarn start & | |
# wait for node to start | |
wget --retry-connrefused --tries=20 http://localhost:8030 | |
- name: Run tests | |
run: | | |
# HDWalletProvider keeps jest from exiting | |
yarn integration --detectOpenHandles |