Skip to content

Commit

Permalink
chore(eslint-config): Add GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wormat committed Jul 6, 2022
1 parent 3173e68 commit 5058f53
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/eslint-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Verify eslint-config build"
on:
pull_request:
paths:
- "packages/eslint-config/**.ts"
- "packages/eslint-config/**.json"
push:
branches:
- master

jobs:
verify:
runs-on: ubuntu-latest

defaults:
run:
working-directory: ./packages/eslint-config

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable
- name: Check format
run: yarn format:check
- name: Check lint
run: yarn lint --max-warnings=0

0 comments on commit 5058f53

Please sign in to comment.