feat: linear ticket checker #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: linear ticket check | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
- ready_for_review | ||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
env: | ||
LINEAR_API_KEY: ${{ secrets.LINEAR_API_KEY }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
Check failure on line 18 in .github/workflows/linear-check.yml GitHub Actions / linear ticket checkInvalid workflow file
|
||
fetch-depth: 0 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: npm | ||
cache-dependency-path: tools/linear-checker/package-lock.json | ||
- name: Check comment issues | ||
working-directory: tools/linear-checker | ||
run: npm install && npm run check |