monkeeShark/packages/misskey-js/.github/workflows/lint.yml

31 lines
549 B
YAML
Raw Normal View History

2023-03-25 07:09:24 +00:00
name: Lint
2021-07-30 04:01:52 +00:00
on: [push, pull_request]
jobs:
2023-03-25 07:09:24 +00:00
lint:
2021-07-30 04:01:52 +00:00
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 16.5.0
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: Install dependencies
run: npm ci
2023-03-25 07:09:24 +00:00
- name: Lint
run: npm run lint