1
0
Fork 0
freesewing/.github/workflows/tests.huey.yml
2020-03-14 17:09:14 +01:00

32 lines
869 B
YAML

name: Unit tests - Huey
on: [push, 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/huey && npm install
env:
CI: true
- name: Install peer & dependencies
run: cd packages/huey && npm install @freesewing/core @freesewing/plugin-bundle @freesewing/models @freesewing/pattern-info
env:
CI: true
- name: Build pattern
run: cd packages/huey && npm run build
- name: Run pattern unit tests
run: cd packages/huey && npm run testonlyci