diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..f6cbddba --- /dev/null +++ b/.github/workflows/lint.yml @@ -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 diff --git a/package.json b/package.json index b51631e7..687511ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kun-galgame-nuxt3", - "version": "2.18.27", + "version": "2.18.28", "private": true, "scripts": { "build": "nuxt build",