TMT-Demo/.github/workflows/test.yml

22 lines
415 B
YAML
Raw Normal View History

2023-06-09 20:45:56 +00:00
name: Run Tests
2022-06-23 16:49:45 +00:00
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
2022-06-23 16:49:45 +00:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2022-11-08 04:10:42 +00:00
with:
submodules: recursive
2022-06-23 16:52:57 +00:00
- name: Use Node.js 16.x
2022-06-23 16:49:45 +00:00
uses: actions/setup-node@v3
with:
2022-06-23 16:52:57 +00:00
node-version: 16.x
2022-06-23 16:49:45 +00:00
- run: npm ci
- run: npm run build --if-present
- run: npm test