Skip to content

Commit

Permalink
chore: add workflow lint
Browse files Browse the repository at this point in the history
Co-authored-by: asukaminato0721 [email protected]
  • Loading branch information
KUN1007 committed Oct 14, 2024
1 parent 5cb1573 commit 857f935
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Lint

on:
push:
branches:
- master
pull_request:
branches:
- master

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Run ESLint
run: pnpm run lint
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kun-galgame-nuxt3",
"version": "2.18.27",
"version": "2.18.28",
"private": true,
"scripts": {
"build": "nuxt build",
Expand Down

0 comments on commit 857f935

Please sign in to comment.