1
0
Fork 0
freesewing/.github/workflows/tests.simone.yml
2021-08-20 15:55:05 +02:00

32 lines
1 KiB
YAML

name: Unit tests - Simone
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/simone && npm install
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/simone && npm install @freesewing/core@^2.17.4 @freesewing/plugin-bundle@^2.17.4 @freesewing/brian@^2.17.4 @freesewing/simon@^2.17.4 @freesewing/plugin-buttons@^2.17.4 @freesewing/plugin-flip@^2.17.4 @freesewing/plugin-bust@^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/simone && npm run build
- name: Run pattern unit tests
run: cd packages/simone && npm run testci