fix: correct passing executionCtx to context.cloudflare.ctx
(#45)
#103
This file contains 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: ci | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
vite: | |
name: 'Vite' | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./ | |
strategy: | |
matrix: | |
node: [20, 22] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm install | |
- run: npx playwright install --with-deps | |
- run: npm run build | |
- run: npm run test:e2e:vite | |
cloudflare-pages: | |
name: 'Cloudflare Pages' | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./ | |
strategy: | |
matrix: | |
node: [20, 22] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm install | |
- run: npx playwright install --with-deps | |
- run: npm run build | |
- run: npm run test:e2e:cloudflare-pages | |
cloudflare-workers: | |
name: 'Cloudflare Workers' | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./ | |
strategy: | |
matrix: | |
node: [20, 22] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm install | |
- run: npx playwright install --with-deps | |
- run: npm run build | |
- run: npm run test:e2e:cloudflare-workers | |
node: | |
name: 'Node.js' | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./ | |
strategy: | |
matrix: | |
node: [20, 22] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm install | |
- run: npx playwright install --with-deps | |
- run: npm run build | |
- run: npm run test:e2e:node |