Skip to content

set latest tag on npm to 2.0.0-next.58 #4135

set latest tag on npm to 2.0.0-next.58

set latest tag on npm to 2.0.0-next.58 #4135

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
branches: [main]
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
node:
name: Node
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/setup
- run: pnpm vitest
edge:
name: Edge
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/setup
- run: pnpm vitest --environment edge-runtime
browser:
name: Browser ${{ matrix.shard }} (${{ matrix.browser }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
browser: [chromium]
shard: [1/3, 2/3, 3/3]
steps:
- uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/setup
- name: Install dependencies
uses: ./.github/actions/setup
- run: npx playwright install --with-deps ${{ matrix.browser }}
- run: pnpm vitest --browser ${{ matrix.browser }} --shard ${{ matrix.shard }}
bun:
name: Bun
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/setup
- name: Install bun
uses: oven-sh/setup-bun@v1
- run: bun vitest
deno:
name: Deno
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/setup
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: deno task test