Skip to content

Commit

Permalink
ci: add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nponsard committed Jun 17, 2024
1 parent 98757e8 commit 265ac2b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflow/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test Deno Module

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
deno-version: [1.2.2, 1.3.0]

steps:
- name: Git Checkout Deno Module
uses: actions/checkout@v2
- name: Use Deno Version ${{ matrix.deno-version }}
uses: denolib/setup-deno@v2
with:
deno-version: ${{ matrix.deno-version }}

- name: check format in Deno Module
run: deno fmt --check

- name: lint Deno Module
run: deno lint
- name: Build Deno Module
run: deno run --reload mod.ts
- name: Test Deno Module
run: deno test --allow-none

0 comments on commit 265ac2b

Please sign in to comment.