feat: support jspi on available platforms #307
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/[email protected] | |
with: | |
node-version: lts/* | |
check-latest: true | |
- uses: denoland/[email protected] | |
- uses: oven-sh/setup-bun@v1 | |
if: ${{ matrix.os != 'windows-latest' }} | |
with: | |
bun-version: latest | |
- name: Test | |
run: npm run test | |
jsr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: denoland/[email protected] | |
- name: jsr slow types check | |
run: deno publish --dry-run | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: extractions/setup-just@v1 | |
- uses: actions/[email protected] | |
with: | |
node-version: lts/* | |
check-latest: true | |
- uses: denoland/[email protected] | |
- uses: oven-sh/setup-bun@v1 | |
if: ${{ matrix.os != 'windows-latest' }} | |
with: | |
bun-version: latest | |
- name: Docs | |
shell: bash | |
run: | | |
just prepare | |
just docs |