Skip to content

test: server end-to-end #43

test: server end-to-end

test: server end-to-end #43

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Server e2e cloud test
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: npm ci
- run: npm run build --if-present
- run: node --test ./test-e2e/server.js
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
REMOTE_TEST_SERVER: true