Skip to content

ci: add jsr slow types check #239

ci: add jsr slow types check

ci: add jsr slow types check #239

Workflow file for this run

name: JS CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: extractions/setup-just@v1
- uses: actions/setup-node@v3.8.1
with:
node-version: lts/*
check-latest: true
- uses: denoland/setup-deno@v1.1.2
- uses: oven-sh/setup-bun@v1
if: ${{ matrix.os != 'windows-latest' }}
with:
bun-version: latest
- name: jsr slow types check
run: npx jsr publish --dry-run
- name: Test
run: npm run test
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: extractions/setup-just@v1
- uses: actions/setup-node@v3.8.1
with:
node-version: lts/*
check-latest: true
- uses: denoland/setup-deno@v1.1.2
- uses: oven-sh/setup-bun@v1
if: ${{ matrix.os != 'windows-latest' }}
with:
bun-version: latest
- name: Docs
shell: bash
run: |
just prepare
just docs