ci: add workflow for presets ci

This commit is contained in:
lowlighter
2022-01-26 20:39:29 -05:00
parent 61c89a318c
commit 1982162ba6
3 changed files with 103 additions and 3 deletions

22
.github/workflows/ci.presets.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Continuous integration (presets)
on:
push:
branches: [ presets ]
jobs:
test:
name: Build, test and analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: 17
- name: Setup metrics
run: npm ci
- name: Run tests
run: npm run test-presets