This repository has been archived by the owner on Jun 27, 2024. It is now read-only.
refactor(cli/bundle): target cloudflare by default #330
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: check | |
on: | |
- push | |
- pull_request | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/deno | |
~/.deno | |
key: ${{ runner.os }}-deno-${{ hashFiles('**/*') }} | |
restore-keys: | | |
${{ runner.os }}-deno- | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Run deno fmt | |
run: deno fmt --check | |
- name: Run deno lint | |
run: deno lint | |
- name: Run deno test | |
run: deno task test --fail-fast |