1
0
Fork 0

chore: Integrated ursula into monorepo

This commit is contained in:
Joost De Cock 2021-06-26 10:33:33 +02:00
parent cc00ec65ff
commit 5117acfdc3
18 changed files with 855 additions and 0 deletions

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

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