chore: Integrated yuri into monorepo
This commit is contained in:
parent
a52e602631
commit
092e11be40
10 changed files with 335 additions and 232 deletions
40
.github/workflows/tests.yuri.yml
vendored
Normal file
40
.github/workflows/tests.yuri.yml
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
name: Unit tests - Yuri
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- develop
|
||||
- main
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [14.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/yuri && npm install
|
||||
env:
|
||||
CI: true
|
||||
- name: Install peer & test dependencies
|
||||
run: "cd packages/yuri && npm install @freesewing/core@^2.17.4 @freesewing/plugin-bundle@^2.17.4 @freesewing/brian@^2.17.4 @freesewing/models@2.17.4 @freesewing/pattern-info@2.17.4 mocha chai"
|
||||
env:
|
||||
CI: true
|
||||
- name: Build pattern
|
||||
run: cd packages/yuri && npm run build
|
||||
- name: Run pattern unit tests
|
||||
run: cd packages/yuri && npm run testci
|
Loading…
Add table
Add a link
Reference in a new issue