This repository has been archived on 2024-11-11. You can view files and clone it, but cannot push or open issues or pull requests.
socketio-jwt/.github/workflows/test.yml

29 lines
507 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:
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
test:
runs-on: 'ubuntu-latest'
2020-12-27 17:40:00 +01:00
steps:
- uses: 'actions/checkout@v4.0.0'
2020-12-27 17:40:00 +01:00
2023-05-13 19:25:45 +02:00
- name: 'Setup Node.js'
uses: 'actions/setup-node@v3.8.1'
2020-12-27 17:40:00 +01:00
with:
node-version: '20.x'
cache: 'npm'
2020-12-27 17:40:00 +01:00
2023-05-13 19:25:45 +02:00
- name: 'Install dependencies'
run: 'npm clean-install'
2020-12-27 17:40:00 +01:00
- name: 'Build'
run: 'npm run build'
2021-07-23 23:15:52 +02:00
- name: 'Test'
run: 'npm run test'