post-checks: add production smoke test #6
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: Parachain and Enclave integrety checks | |
on: | |
# TODO: remove me. keep workflow_dispatch only. | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
environment: | |
description: "Environment" | |
type: choice | |
options: | |
- litentry-prod | |
## Target tee-prod only for now | |
# - litentry-dev | |
# - litentry-staging | |
default: "litentry-prod" | |
jobs: | |
post-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set ENV | |
run: | | |
echo "LITENTRY_NETWORK=${{inputs.environment}}" >> $GITHUB_ENV | |
- name: Enable corepack and pnpm | |
run: corepack enable && corepack enable pnpm | |
- name: install deps | |
working-directory: ./tee-worker/ts-tests | |
run: pnpm install --frozen-lockfile | |
- name: run | |
working-directory: ./tee-worker/ts-tests/post-checks | |
run: pnpm start |