Feature/jss 105 refactor auth services from elysia to express #184
This file contains hidden or 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: E2E Tests | |
| on: | |
| push: | |
| branches: | |
| - naga | |
| - canary-naga | |
| pull_request: | |
| env: | |
| LIT_STATUS_WRITE_KEY: ${{ secrets.LIT_STATUS_WRITE_KEY }} | |
| LIT_STATUS_BACKEND_URL: ${{ vars.LIT_STATUS_BACKEND_URL }} | |
| LIVE_MASTER_ACCOUNT: ${{ secrets.LIVE_MASTER_ACCOUNT }} | |
| LOCAL_MASTER_ACCOUNT: ${{ secrets.LOCAL_MASTER_ACCOUNT }} | |
| LOG_LEVEL: info | |
| jobs: | |
| naga-e2e-tests: | |
| runs-on: ubuntu-latest | |
| environment: Health Check | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: pnpm | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| run_install: false | |
| - name: Install rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| override: true | |
| components: rust-std | |
| - name: Install wasm-pack | |
| uses: jetli/[email protected] | |
| with: | |
| version: 'latest' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build project | |
| run: pnpm run build | |
| - name: Run health check for naga-dev | |
| run: NETWORK=naga-dev pnpm run test:e2e:ci -- all | |
| timeout-minutes: 10 | |
| # - name: Run health check for naga-test | |
| # run: NETWORK=naga-test pnpm run test:e2e:ci -- all | |
| # timeout-minutes: 10 | |
| - name: Run health check for naga-staging | |
| run: NETWORK=naga-staging pnpm run test:e2e:ci -- all | |
| timeout-minutes: 10 |