1
0
Fork 0

feat: Initial commit of Teagan, a T-shirt pattern

This commit is contained in:
Joost De Cock 2020-08-23 16:48:43 +02:00
parent 85822eb388
commit 6fc80e75d4
33 changed files with 1306 additions and 4 deletions

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

@ -0,0 +1,32 @@
name: Unit tests - Teagan
on: [push]
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/teagan && npm install
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/teagan && npm install @freesewing/core@^2.8.1 @freesewing/plugin-bundle@^2.8.1 @freesewing/models@2.8.1 @freesewing/pattern-info@2.8.1 mocha chai"
env:
CI: true
- name: Build pattern
run: cd packages/teagan && npm run build
- name: Run pattern unit tests
run: cd packages/teagan && npm run testci