Skip to content

chore(ci): update installation #19

chore(ci): update installation

chore(ci): update installation #19

Workflow file for this run

name: ci
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
deno-test:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
deno: [canary]
os:
- ubuntu-22.04
- windows-2022
- macOS-12
steps:
- name: Setup repo
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno }}
- name: Install packages
run: deno install
- name: Run tests canary
run: deno task test
node-test:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
node-version: [21.x]
os:
- ubuntu-22.04
- windows-2022
- macOS-12
steps:
- name: Setup repo
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
- name: Install packages
run: npx jsr add @cross/test @std/assert
- name: Run tests
run: deno task test:node
lint:
runs-on: ubuntu-22.04
steps:
- name: Setup repo
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: canary
- name: Check linting
run: deno task lint