2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-11-09 22:20:08 +01:00
socketio-jwt/.github/workflows/lint.yml

29 lines
603 B
YAML
Raw Normal View History

2021-07-23 23:15:52 +02:00
name: 'Lint'
2020-12-27 17:40:00 +01:00
on:
push:
2022-03-01 09:02:21 +01:00
branches: [develop]
pull_request:
2020-12-27 17:40:00 +01:00
branches: [master, develop]
jobs:
2021-07-23 23:15:52 +02:00
lint:
runs-on: 'ubuntu-latest'
2020-12-27 17:40:00 +01:00
steps:
- uses: 'actions/checkout@v3.0.0'
2020-12-27 17:40:00 +01:00
- name: 'Use Node.js'
uses: 'actions/setup-node@v3.1.0'
2020-12-27 17:40:00 +01:00
with:
node-version: 'lts/*'
cache: 'npm'
2020-12-27 17:40:00 +01:00
- name: 'Install'
run: 'npm install'
2020-12-27 17:40:00 +01:00
2021-07-23 23:15:52 +02:00
- run: 'npm run lint:commit -- --to "${{ github.sha }}"'
2021-03-19 14:07:21 +01:00
- run: 'npm run lint:editorconfig'
- run: 'npm run lint:markdown'
2021-07-23 23:15:52 +02:00
- run: 'npm run lint:typescript'
- run: 'npm run lint:prettier'