2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-21 09:38:31 +02:00
socketio-jwt/.github/workflows/nodejs.yml

30 lines
606 B
YAML
Raw Normal View History

2020-12-27 17:40:00 +01:00
name: 'Node.js CI'
on:
push:
branches: [master, develop]
pull_request:
2020-12-27 17:40:00 +01:00
branches: [master, develop]
jobs:
ci_app:
runs-on: 'ubuntu-latest'
2020-12-27 17:40:00 +01:00
steps:
- uses: 'actions/checkout@v2.3.4'
2020-12-27 17:40:00 +01:00
- name: 'Use Node.js'
uses: 'actions/setup-node@v2.3.0'
2020-12-27 17:40:00 +01:00
with:
node-version: '16.x'
cache: 'npm'
2020-12-27 17:40:00 +01:00
- name: 'Install'
run: 'npm install'
2020-12-27 17:40:00 +01:00
2021-03-19 14:07:21 +01:00
- run: 'npm run lint:editorconfig'
- run: 'npm run lint:markdown'
- run: 'npm run lint'
- run: 'npm run build'
- run: 'npm test'
- uses: 'codecov/codecov-action@v1.5.2'