Skip to content

Commit

Permalink
build: add ci config that runs trunk check
Browse files Browse the repository at this point in the history
  • Loading branch information
chapati23 committed Jul 23, 2024
1 parent 4e037de commit 182ca11
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Trunk Check
on: [push]
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions: read-all

jobs:
trunk-check:
runs-on: ubuntu-latest
permissions:
checks: write # For trunk to post annotations
contents: read # For repo checkout
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- uses: trunk-io/trunk-action@v1
with:
check-mode: all

0 comments on commit 182ca11

Please sign in to comment.