chore: Added description and workflow for hortensia
This commit is contained in:
parent
2e2a495bb5
commit
6ccd6a5bb9
2 changed files with 33 additions and 0 deletions
32
.github/workflows/tests.hortensia.yml
vendored
Normal file
32
.github/workflows/tests.hortensia.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
name: Unit tests - Hortensia
|
||||||
|
|
||||||
|
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/hortensia && npm install
|
||||||
|
env:
|
||||||
|
CI: true
|
||||||
|
- name: Install peer & test dependencies
|
||||||
|
run: "cd packages/hortensia && 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/hortensia && npm run build
|
||||||
|
- name: Run pattern unit tests
|
||||||
|
run: cd packages/hortensia && npm run testci
|
|
@ -19,6 +19,7 @@ florent: 'A FreeSewing pattern for a flat cap'
|
||||||
florence: 'A FreeSewing pattern for a face mask'
|
florence: 'A FreeSewing pattern for a face mask'
|
||||||
gatsby-remark-jargon: 'A gatsby-transformer-remark sub-plugin for jargon terms'
|
gatsby-remark-jargon: 'A gatsby-transformer-remark sub-plugin for jargon terms'
|
||||||
holmes: 'A FreeSewing pattern for a Sherlock Holmes hat'
|
holmes: 'A FreeSewing pattern for a Sherlock Holmes hat'
|
||||||
|
hortensia: 'A FreeSewing pattern for a handbag'
|
||||||
huey: 'A FreeSewing pattern for a zip-up hoodie'
|
huey: 'A FreeSewing pattern for a zip-up hoodie'
|
||||||
hugo: 'A FreeSewing pattern for a hooded jumper with raglan sleeves'
|
hugo: 'A FreeSewing pattern for a hooded jumper with raglan sleeves'
|
||||||
i18n: 'Translations for the FreeSewing project'
|
i18n: 'Translations for the FreeSewing project'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue