Skip to content

chore: add CODEOWNERS file #33

chore: add CODEOWNERS file

chore: add CODEOWNERS file #33

Workflow file for this run

---
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