2023-11-05 17:00:28 +00:00
|
|
|
name: Run Tests
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: docker
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
- name: Use Node.js 16.x
|
|
|
|
uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
node-version: 16.x
|
|
|
|
- run: npm ci
|
|
|
|
- run: npm run build --if-present
|
|
|
|
- run: npm test
|
2024-02-18 02:16:00 +00:00
|
|
|
- run: npm run lint
|