Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Nov 9, 2023
1 parent eda4257 commit 6dde23b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
strategy:
matrix:
task:
- ci:check
- ci:lint
- ci:test
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- run: deno task btr ${{ matrix.task }}
- run: deno task make ${{ matrix.task }}

# GitHub CodeQL analysis
analyze:
Expand Down Expand Up @@ -69,4 +69,4 @@ jobs:
with:
context: .
tags: ghcr.io/${{ github.repository }}:v4
push: ${{ github.event_name == 'push' }}
push: ${{ github.event_name == 'push' }}
4 changes: 4 additions & 0 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@
}
}
},
"ci:lint": {
"description": "🤖 Lint code (CI)",
"task": "deno task make lint" // --check
},
"ci:test": {
"description": "🤖 Build container and run tests and coverage inside the image (CI)",
"task": [
Expand Down

0 comments on commit 6dde23b

Please sign in to comment.