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

20 lines
377 B
YAML
Raw Normal View History

2022-06-23 16:49:45 +00:00
name: Build and Deploy
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
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