Skip to content

0.9.0

0.9.0 #159

Workflow file for this run

name: 'Run tests on Deno'
on:
push:
paths:
- '.github/workflows/deno.yml'
- 'src/**'
- 'tests/**'
- 'types/**'
- 'package.json'
- 'pnpm-lock.yaml'
pull_request:
paths:
- '.github/workflows/deno.yml'
- 'src/**'
- 'tests/**'
- 'types/**'
- 'package.json'
- 'pnpm-lock.yaml'
workflow_dispatch:
jobs:
default:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
vite-version: ['vite@5', '[email protected]']
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 10
- uses: denoland/setup-deno@5e01c016a857a4dbb5afe9d0f9733cd472cba985 # v1.5.1
with:
deno-version: v1.x
- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
name: Set up Deno cache
with:
path: |
~/.deno
~/.cache/deno
key: ${{ runner.os }}-deno-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install Vite
run: deno cache npm:${{ matrix.vite-version }} --allow-scripts
- name: Lint Source
run: deno lint --rules-exclude=no-explicit-any --ignore=node_modules **/*.ts
- name: Run Tests
run: deno run --allow-all --unstable-sloppy-imports npm:uvu tests