Skip to content

ci: bumping actions and runtimes. #2367

ci: bumping actions and runtimes.

ci: bumping actions and runtimes. #2367

Workflow file for this run

name: tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
bun-version: [1.x]
deno-version: [1.34.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Use Deno ${{ matrix.deno-version }}
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}
- name: Use Bun ${{ matrix.bun-version }}
uses: oven-sh/setup-bun@v1
with:
bun-version: ${{ matrix.bun-version }}
- name: Install dependencies
run: npm ci
- name: Install playwright
run: npx playwright install
- name: Run docker compose
run: docker compose up -d
- name: Run node tests
run: npm test
- name: Run node tests with transformer
run: TEST_TRANSFORMER=1 npm test
- name: Run browser tests
run: npm run test:browser
- name: Run deno tests
run: npm run test:deno
- name: Run bun tests
run: npm run test:bun
- name: Run esbuild test
run: npm run test:esbuild
- name: Run cloudflare workers test
run: npm run test:cloudflare-workers