Skip to content

Commit

Permalink
github actions config
Browse files Browse the repository at this point in the history
  • Loading branch information
prztrz committed Aug 30, 2024
1 parent 9844aae commit b06be56
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,19 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.4

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 20.12
cache: 'pnpm'

# ESLint and Prettier must be in `package.json`
- name: Install Node.js dependencies
run: npm install
run: pnpm install

- name: Run linters
uses: wearerequired/lint-action@v1
with:
eslint: true
prettier: true
run: pnpm lint

0 comments on commit b06be56

Please sign in to comment.