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

29 lines
518 B
YAML
Raw Normal View History

2021-07-23 23:15:52 +02:00
name: 'Test'
2020-12-27 17:40:00 +01:00
on:
push:
branches: [master, develop]
pull_request:
2020-12-27 17:40:00 +01:00
branches: [master, develop]
jobs:
2021-07-23 23:15:52 +02:00
test:
runs-on: 'ubuntu-latest'
2020-12-27 17:40:00 +01:00
steps:
2021-07-23 23:15:52 +02:00
- uses: 'actions/checkout@v2'
2020-12-27 17:40:00 +01:00
- name: 'Use Node.js'
uses: 'actions/setup-node@v2.5.1'
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
- name: 'Test'
run: 'npm run test'
- name: 'Upload Coverage'
uses: 'codecov/codecov-action@v2.1.0'