Skip to content

Commit

Permalink
chore: add lint aciton
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyunc committed Sep 5, 2024
1 parent 76a4eb1 commit ccf8274
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
on: push

name: Lint

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Clone repository
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Install dependencies
description: "Set up pnpm and install dependencies"

inputs:
node-version:
description: 'Node.js version'
required: false
default: 22.5.1

runs:
using: "composite"
steps:
- name: Set up pnpm
uses: pnpm/action-setup@v4

- name: Set up node
uses: actions/setup-node@v4
with:
cache: pnpm
node-version: ${{ inputs.node-version }}

- name: Install dependencies
shell: bash
run: pnpm install

- name: Lint code
run: pnpm lint

0 comments on commit ccf8274

Please sign in to comment.