1
0
Fork 0

feat(charlie): Initial commit

This commit is contained in:
Joost De Cock 2021-01-30 16:30:45 +01:00
parent 6ccd6a5bb9
commit 61a1acb845
24 changed files with 953 additions and 0 deletions

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

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