Skip to content

Interim

Interim #499

Workflow file for this run

name: ci
on:
push:
branches: [main, v1]
tags: [v*]
pull_request:
branches: [main]
env:
CI: true
FORCE_COLOR: true
jobs:
ci:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:latest
env:
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: bun install --frozen-lockfile
- run: bun test:bun
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: bun test:node
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: bun test:deno
- if: startsWith(github.ref, 'refs/tags/v')
run: |
npm config set //registry.npmjs.org/:_authToken ${{secrets.NPM_AUTH_TOKEN}}
npm publish