1
0
Fork 0

chore: Integrated new cornelius pattern

This commit is contained in:
Joost De Cock 2021-03-01 18:16:55 +01:00
parent 8ced4feba9
commit 5a13382d53
19 changed files with 724 additions and 2 deletions

32
.github/workflows/tests.cornelius.yml vendored Normal file
View file

@ -0,0 +1,32 @@
name: Unit tests - Cornelius
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: cd packages/cornelius && npm install
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/cornelius && npm install @freesewing/core@^2.13.2 @freesewing/plugin-bundle@^2.13.2 @freesewing/models@2.13.2 @freesewing/pattern-info@2.13.2 mocha chai"
env:
CI: true
- name: Build pattern
run: cd packages/cornelius && npm run build
- name: Run pattern unit tests
run: cd packages/cornelius && npm run testci