Skip to content

Commit

Permalink
Merge pull request #87 from Portkey-Wallet/feature/config-next-lint
Browse files Browse the repository at this point in the history
chore: 🤖 config next lint
  • Loading branch information
wade-portkey authored May 11, 2024
2 parents 2e57b58 + ad75a7a commit 7589a52
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/nextLint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Next Lint Check
#

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '20' # Your node version, default 20 in 2024

- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Dependencies
run: yarn

- name: Run ESLint
run: yarn lint

0 comments on commit 7589a52

Please sign in to comment.