Skip to content

ci: update workflows to run tests using wrangler-action #8

ci: update workflows to run tests using wrangler-action

ci: update workflows to run tests using wrangler-action #8

Workflow file for this run

name: Pull requests tests
on:
push:
branches-ignore:
- main
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Run tests using Cloudflare CLI environment
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
preCommands: pnpm test
command: logout