Advent-Incremental/.github/workflows/test.yml

22 lines
423 B
YAML
Raw Normal View History

2022-09-26 23:41:10 +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-11-08 04:10:42 +00:00
with:
submodules: recursive
2022-09-26 23:41:10 +00:00
- 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