Repo setup and build step configuration

This commit is contained in:
mrjvs
2023-12-24 00:37:41 +01:00
parent 9c8750e793
commit 286f3e3115
28 changed files with 993 additions and 0 deletions

31
.github/workflows/tests.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: Testing
on:
pull_request:
push:
branches:
- master
- dev
jobs:
testing:
name: Testing
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install packages
run: npm install
- name: Run tests
run: npm run test
- name: Run linting
run: npm run lint