fix: 修复 jsr 发布问题 #85
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: Deno PR check | |
on: | |
workflow_call: | |
pull_request: | |
branches: ['master'] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v4.1.6 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1.5.1 | |
with: | |
deno-version: v1.x | |
# Uncomment this step to verify the use of 'deno fmt' on each commit. | |
- name: Verify formatting | |
run: deno fmt --check | |
- name: Run linter | |
run: deno lint | |
- name: Run tests | |
run: deno test -A |