Skip to content

Commit

Permalink
Merge prettier, lint into static-analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
mroderick committed Feb 21, 2022
1 parent 2e1bf94 commit be7df9e
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/main.yml
Expand Up @@ -3,7 +3,7 @@ name: Node CI
on: [push]

jobs:
prettier:
static-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -25,26 +25,6 @@ jobs:
- name: Prettier
run: |
npm run prettier:check
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
- name: Cache modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: |
npm ci
env:
HUSKY_SKIP_INSTALL: 1
- name: ESLint
run: |
npm run lint
Expand Down

0 comments on commit be7df9e

Please sign in to comment.