Skip to content

Commit

Permalink
fix linter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tnyo43 committed Mar 1, 2024
1 parent 88c3084 commit 72c69d2
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,19 @@ permissions:

jobs:
lint:
name: Lint Codebase
runs-on: ubuntu-latest

steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm

- name: Install Dependencies
id: install
run: npm ci
cache: pnpm

- name: Lint Codebase
id: super-linter
uses: super-linter/super-linter/slim@v6
- run: pnpm install
- uses: super-linter/super-linter/slim@v6
env:
DEFAULT_BRANCH: main
FILTER_REGEX_EXCLUDE: dist/**/*
Expand Down

0 comments on commit 72c69d2

Please sign in to comment.