Skip to content

#2 add/test browser support [wip] #2

#2 add/test browser support [wip]

#2 add/test browser support [wip] #2

name: Test Runner (dev:Cloudflare)
on:
push:
branches: [dev]
pull_request:
branches: [dev]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 16
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Build project
run: npm run build
- name: Create env-cf file
run: |
touch .env-cf
echo ENDPOINT=${{ secrets.ENDPOINT }} >> .env-cf
echo REGION=${{ secrets.REGION }} >> .env-cf
echo ACCESS_KEY_ID=${{ secrets.ACCESS_KEY_ID }} >> .env-cf
echo SECRET_ACCESS_KEY=${{ secrets.SECRET_ACCESS_KEY }} >> .env-cf
echo BUCKET_NAME=${{ secrets.BUCKET_NAME }} >> .env-cf
echo TOKEN_VALUE=${{ secrets.TOKEN_VALUE }} >> .env-cf
- name: Run e2e tests
uses: nick-fields/[email protected]
with:
max_attempts: 3
retry_on: any
timeout_minutes: 5
retry_wait_seconds: 20
command: npm run test:cloudflare