Skip to content

test: add compatibility tests for browser, node and bun (#36) #86

test: add compatibility tests for browser, node and bun (#36)

test: add compatibility tests for browser, node and bun (#36) #86

Workflow file for this run

name: Continuous integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.x
- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: deno task ci
analyze:
name: Analyze code
runs-on: ubuntu-latest
needs:
- test
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
languages: typescript
config-file: ./.github/codeql.yml
- uses: github/codeql-action/analyze@v3
publish:
runs-on: ubuntu-latest
needs:
- analyze
permissions:
id-token: write
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- run: deno publish