Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Push to Master/Main CI

on:
push:
Expand All @@ -25,6 +25,25 @@ jobs:
- name: Install Dependencies
run: deno install

- name: Cache Deno dependencies
uses: actions/cache@v4
with:
path: |
~/.cache/deno
./deno.lock
key: ${{ runner.os }}-deno-${{ hashFiles('**/deno.lock') }}
restore-keys: |
${{ runner.os }}-deno-

- name: Cache Dependencies
run: deno cache src/index.tsx

- name: Run linter
run: deno task lint

- name: Check formatter
run: deno task format --check

- name: Run tests
run: deno task test

Expand Down
26 changes: 23 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Pull Request
name: Pull Request CI

on: pull_request
on:
pull_request:

jobs:
build:
Expand All @@ -14,9 +15,28 @@ jobs:
with:
deno-version: v2.x

- name: Cache Deno dependencies
uses: actions/cache@v4
with:
path: |
~/.cache/deno
./deno.lock
key: ${{ runner.os }}-deno-${{ hashFiles('**/deno.lock') }}
restore-keys: |
${{ runner.os }}-deno-

- name: Install Dependencies
run: deno install


- name: Cache Dependencies
run: deno cache src/index.tsx

- name: Run linter
run: deno task lint

- name: Check formatter
run: deno task format --check

- name: Run tests
run: deno task test

Expand Down