Skip to content

Merge pull request #8 from vim-denops/v7-pre #59

Merge pull request #8 from vim-denops/v7-pre

Merge pull request #8 from vim-denops/v7-pre #59

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
paths:
- "**.md"
- "**.ts"
- ".github/workflows/test.yml"
- "deno.jsonc"
workflow_dispatch:
jobs:
check:
strategy:
matrix:
runner:
- ubuntu-latest
deno_version:
- "1.x"
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: "${{ matrix.deno_version }}"
- name: Lint check
run: deno lint
- name: Format check
run: deno fmt --check
- name: Type check
run: deno task check
- name: Test doc
run: deno task test
jsr-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: ${{ env.DENO_VERSION }}
- name: Publish (dry-run)
run: |
deno publish --dry-run