1
0
Fork 0

chore(titan): Fixed decription so it's configured as a pattern package

This commit is contained in:
Joost De Cock 2020-08-23 17:39:29 +02:00
parent 53a93298ee
commit 86a91d9d5b
10 changed files with 144 additions and 51 deletions

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

@ -0,0 +1,32 @@
name: Unit tests - Titan
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/titan && npm install
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/titan && 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/titan && npm run build
- name: Run pattern unit tests
run: cd packages/titan && npm run testci