fix: header anomalies #34
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: Build | |
# This workflow will install Deno then run `deno fmt`, `deno lint`, and `deno test`. | |
# For more information see: https://github.com/denoland/setup-deno | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- synchronize | |
- reopened | |
merge_group: | |
schedule: | |
- cron: "0 14 * * 1" # every monday at 9 in the morning CST | |
workflow_dispatch: | |
permissions: | |
contents: read # Needed to clone the repository | |
env: | |
CI: true | |
DENO_VERSION: v1.39.x | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # Needed for auth with Deno Deploy | |
steps: | |
- name: π Git checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
submodules: recursive | |
clean: true | |
persist-credentials: false | |
set-safe-directory: true | |
- name: π¦ Install Deno | |
uses: denoland/setup-deno@0df5d9c641efdff149993c321fc27c11c5df8623 # v1.1.3 | |
with: | |
deno-version: ${{ env.DENO_VERSION }} | |
- name: βοΈ Cache Deno dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 | |
with: | |
path: node_modules/ | |
key: deno_cache-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('deno.json') }} | |
restore-keys: deno_cache-${{ runner.arch }}-${{ runner.os }} | |
- name: π¦ Install dependencies | |
run: deno cache src/main.ts | |
- name: π΅οΈ Run linter, Verify formatting | |
run: deno task check | |
- name: π§ͺ Run tests | |
run: deno task test | |
- name: π¨ Build | |
run: deno task build | |
- name: π Collect coverage | |
run: deno task test:coverage | |
- name: π§ Upload to Deno Deploy | |
uses: denoland/deployctl@48c9c6732097c0832ef1f2de008b6db01241c84b # 1.9.0 | |
with: | |
project: "loud-ape-90" | |
entrypoint: src/main.ts | |
include: | | |
src | |
deno.json |