Skip to content

Commit

Permalink
lint CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
trentm committed Dec 19, 2023
1 parent ccb3a0a commit be30f67
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: lint

on:
push:
branches:
- main
pull_request:

# Run this job for all commits to main -- even if that means multiple
# concurrent jobs for a flurry of commits -- but only for the latest commit on
# a PR branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm run lint
~

0 comments on commit be30f67

Please sign in to comment.