Skip to content

Integration tests

Integration tests #1

name: Integration tests
on:
workflow_dispatch:
workflow_call:
secrets:
PRIVATE_KEY:
required: true
jobs:
test:
uses: ./.github/workflows/unit-tests.yml
integration-tests:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- run: npm ci
- run: npm run build
- name: Run integration tests
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
run: npm run test:integration