Skip to content

fix cf env vars in actions #3

fix cf env vars in actions

fix cf env vars in actions #3

name: Test Runner (release:Cloudflare)
on:
push:
branches: [release]
pull_request:
branches: [release]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 2
env:
ENDPOINT: ${{ secrets.ENDPOINT }}
REGION: ${{ secrets.REGION }}
ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }}
SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS_KEY }}
BUCKET_NAME: ${{ secrets.BUCKET_NAME }}
TOKEN_VALUE: ${{ secrets.TOKEN_VALUE }}
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: Run e2e tests
uses: nick-fields/[email protected]
with:
ENDPOINT: ${{ secrets.ENDPOINT }}
REGION: ${{ secrets.REGION }}
ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }}
SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS_KEY }}
BUCKET_NAME: ${{ secrets.BUCKET_NAME }}
max_attempts: 3
retry_on: any
timeout_minutes: 5
retry_wait_seconds: 20
command: npm run test:cloudflare:action