Skip to content

feat: not commit admin token (#365) #1090

feat: not commit admin token (#365)

feat: not commit admin token (#365) #1090

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/nvm-tools-actions@v0.18.0
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 }}
PROVIDER_KEYFILE: ${{ secrets.PROVIDER_KEYFILE }}
run: |
yarn setup:dev
yarn start &
# wait for node to start
wget --retry-connrefused --tries=20 http://localhost:8030
- name: Run tests
env:
PROVIDER_KEYFILE: ${{ secrets.PROVIDER_KEYFILE }}
run: |
# HDWalletProvider keeps jest from exiting
yarn integration --detectOpenHandles