1
0
Fork 0

chore: Reconfigure packages

This commit is contained in:
Joost De Cock 2020-10-13 19:06:19 +02:00
parent d7c14d9055
commit 3d0291d6d1
51 changed files with 719 additions and 36 deletions

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

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