Skip to content

Merge pull request #4 from rodneylab/ci__update_ci_config #4

Merge pull request #4 from rodneylab/ci__update_ci_config

Merge pull request #4 from rodneylab/ci__update_ci_config #4

Workflow file for this run

name: Deno
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
jobs:
deno-check:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
with:
egress-policy: audit
disable-telemetry: true
- name: Clone repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install Deno
uses: denoland/setup-deno@ba9dcf3bc3696623d1add6a2f5181ee1b5143de5 # v1.3.0
with:
deno-version: v1.x
- name: Check formatting
run: deno fmt --check
- name: Lint
run: deno lint
- name: Type Check
run: deno check mod.ts
deno-test:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
with:
egress-policy: audit
disable-telemetry: true
- name: Clone repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install Deno
uses: denoland/setup-deno@ba9dcf3bc3696623d1add6a2f5181ee1b5143de5 # v1.3.0
with:
deno-version: v1.x
- name: Test Modules
run: deno task test