ci: add jsr slow types check #239
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |