mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2026-09-03 13:52:47 +08:00
29 lines
657 B
YAML
29 lines
657 B
YAML
name: ESLint
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [10.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: npm install
|
|
working-directory: .
|
|
run: npm install --ignore-scripts
|
|
|
|
- name: Run ESLint
|
|
run: npx eslint . --ext .js,.jsx,.ts.,tsx
|