mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-08-03 23:06:37 +09:00
32 lines
646 B
YAML
32 lines
646 B
YAML
name: Lint
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [20.10.0]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@v2
|
|
with:
|
|
version: 8
|
|
run_install: false
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'pnpm'
|
|
- name: Install
|
|
run: |
|
|
corepack enable
|
|
pnpm i --frozen-lockfile
|
|
- name: eslint
|
|
run: |
|
|
pnpm eslint
|