Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
luludotdev committed Mar 11, 2024
1 parent 1b86ed9 commit d6380fc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build
on: push

env:
DENO_VERSION: v1.x
DENO_DIR: /home/runner/.deno

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup deno
uses: denoland/setup-deno@v1
with:
deno-version: ${{ env.DENO_VERSION }}
- name: Cache dependencies
uses: actions/cache@v4
with:
save-always: ${{ true }}
path: ${{ env.DENO_DIR }}
key: ${{ runner.os }}-${{ hashFiles('deno.lock') }}
- run: deno fmt --check
- run: deno lint
- run: deno check backup.ts

0 comments on commit d6380fc

Please sign in to comment.