chore: Updated workflows
This commit is contained in:
parent
a085de71fd
commit
ea5c221d95
62 changed files with 142 additions and 234 deletions
6
.github/workflows/tests.aaron.yml
vendored
6
.github/workflows/tests.aaron.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/aaron/src/**.js'
|
||||
- 'packages/aaron/config/**.js'
|
||||
- 'packages/aaron/tests/**.js'
|
||||
- 'packages/aaron/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.benjamin.yml
vendored
6
.github/workflows/tests.benjamin.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/benjamin/src/**.js'
|
||||
- 'packages/benjamin/config/**.js'
|
||||
- 'packages/benjamin/tests/**.js'
|
||||
- 'packages/benjamin/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.bent.yml
vendored
6
.github/workflows/tests.bent.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/bent/src/**.js'
|
||||
- 'packages/bent/config/**.js'
|
||||
- 'packages/bent/tests/**.js'
|
||||
- 'packages/bent/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.breanna.yml
vendored
6
.github/workflows/tests.breanna.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/breanna/src/**.js'
|
||||
- 'packages/breanna/config/**.js'
|
||||
- 'packages/breanna/tests/**.js'
|
||||
- 'packages/breanna/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.brian.yml
vendored
6
.github/workflows/tests.brian.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/brian/src/**.js'
|
||||
- 'packages/brian/config/**.js'
|
||||
- 'packages/brian/tests/**.js'
|
||||
- 'packages/brian/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.bruce.yml
vendored
6
.github/workflows/tests.bruce.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/bruce/src/**.js'
|
||||
- 'packages/bruce/config/**.js'
|
||||
- 'packages/bruce/tests/**.js'
|
||||
- 'packages/bruce/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.carlita.yml
vendored
6
.github/workflows/tests.carlita.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/carlita/src/**.js'
|
||||
- 'packages/carlita/config/**.js'
|
||||
- 'packages/carlita/tests/**.js'
|
||||
- 'packages/carlita/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.carlton.yml
vendored
6
.github/workflows/tests.carlton.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/carlton/src/**.js'
|
||||
- 'packages/carlton/config/**.js'
|
||||
- 'packages/carlton/tests/**.js'
|
||||
- 'packages/carlton/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.cathrin.yml
vendored
6
.github/workflows/tests.cathrin.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/cathrin/src/**.js'
|
||||
- 'packages/cathrin/config/**.js'
|
||||
- 'packages/cathrin/tests/**.js'
|
||||
- 'packages/cathrin/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.examples.yml
vendored
6
.github/workflows/tests.examples.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/examples/src/**.js'
|
||||
- 'packages/examples/config/**.js'
|
||||
- 'packages/examples/tests/**.js'
|
||||
- 'packages/examples/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.florent.yml
vendored
6
.github/workflows/tests.florent.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/florent/src/**.js'
|
||||
- 'packages/florent/config/**.js'
|
||||
- 'packages/florent/tests/**.js'
|
||||
- 'packages/florent/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.fu.yml
vendored
6
.github/workflows/tests.fu.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/fu/src/**.js'
|
||||
- 'packages/fu/config/**.js'
|
||||
- 'packages/fu/tests/**.js'
|
||||
- 'packages/fu/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.holmes.yml
vendored
6
.github/workflows/tests.holmes.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/holmes/src/**.js'
|
||||
- 'packages/holmes/config/**.js'
|
||||
- 'packages/holmes/tests/**.js'
|
||||
- 'packages/holmes/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.huey.yml
vendored
6
.github/workflows/tests.huey.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/huey/src/**.js'
|
||||
- 'packages/huey/config/**.js'
|
||||
- 'packages/huey/tests/**.js'
|
||||
- 'packages/huey/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.hugo.yml
vendored
6
.github/workflows/tests.hugo.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/hugo/src/**.js'
|
||||
- 'packages/hugo/config/**.js'
|
||||
- 'packages/hugo/tests/**.js'
|
||||
- 'packages/hugo/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.jaeger.yml
vendored
6
.github/workflows/tests.jaeger.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/jaeger/src/**.js'
|
||||
- 'packages/jaeger/config/**.js'
|
||||
- 'packages/jaeger/tests/**.js'
|
||||
- 'packages/jaeger/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.penelope.yml
vendored
6
.github/workflows/tests.penelope.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/penelope/src/**.js'
|
||||
- 'packages/penelope/config/**.js'
|
||||
- 'packages/penelope/tests/**.js'
|
||||
- 'packages/penelope/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.rendertest.yml
vendored
6
.github/workflows/tests.rendertest.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/rendertest/src/**.js'
|
||||
- 'packages/rendertest/config/**.js'
|
||||
- 'packages/rendertest/tests/**.js'
|
||||
- 'packages/rendertest/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.sandy.yml
vendored
6
.github/workflows/tests.sandy.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/sandy/src/**.js'
|
||||
- 'packages/sandy/config/**.js'
|
||||
- 'packages/sandy/tests/**.js'
|
||||
- 'packages/sandy/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.shin.yml
vendored
6
.github/workflows/tests.shin.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/shin/src/**.js'
|
||||
- 'packages/shin/config/**.js'
|
||||
- 'packages/shin/tests/**.js'
|
||||
- 'packages/shin/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.simon.yml
vendored
6
.github/workflows/tests.simon.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/simon/src/**.js'
|
||||
- 'packages/simon/config/**.js'
|
||||
- 'packages/simon/tests/**.js'
|
||||
- 'packages/simon/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.simone.yml
vendored
6
.github/workflows/tests.simone.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/simone/src/**.js'
|
||||
- 'packages/simone/config/**.js'
|
||||
- 'packages/simone/tests/**.js'
|
||||
- 'packages/simone/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.sven.yml
vendored
6
.github/workflows/tests.sven.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/sven/src/**.js'
|
||||
- 'packages/sven/config/**.js'
|
||||
- 'packages/sven/tests/**.js'
|
||||
- 'packages/sven/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.tamiko.yml
vendored
6
.github/workflows/tests.tamiko.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/tamiko/src/**.js'
|
||||
- 'packages/tamiko/config/**.js'
|
||||
- 'packages/tamiko/tests/**.js'
|
||||
- 'packages/tamiko/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.theo.yml
vendored
6
.github/workflows/tests.theo.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/theo/src/**.js'
|
||||
- 'packages/theo/config/**.js'
|
||||
- 'packages/theo/tests/**.js'
|
||||
- 'packages/theo/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.trayvon.yml
vendored
6
.github/workflows/tests.trayvon.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/trayvon/src/**.js'
|
||||
- 'packages/trayvon/config/**.js'
|
||||
- 'packages/trayvon/tests/**.js'
|
||||
- 'packages/trayvon/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.tutorial.yml
vendored
6
.github/workflows/tests.tutorial.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/tutorial/src/**.js'
|
||||
- 'packages/tutorial/config/**.js'
|
||||
- 'packages/tutorial/tests/**.js'
|
||||
- 'packages/tutorial/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.wahid.yml
vendored
6
.github/workflows/tests.wahid.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/wahid/src/**.js'
|
||||
- 'packages/wahid/config/**.js'
|
||||
- 'packages/wahid/tests/**.js'
|
||||
- 'packages/wahid/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
6
.github/workflows/tests.waralee.yml
vendored
6
.github/workflows/tests.waralee.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/waralee/src/**.js'
|
||||
- 'packages/waralee/config/**.js'
|
||||
- 'packages/waralee/tests/**.js'
|
||||
- 'packages/waralee/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,14 +18,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js $
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: $
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const {{ Pattern }} = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta = {{ metadata }}
|
||||
|
||||
// Test config
|
||||
testPatternConfig('{{ pattern }}', new {{ Pattern }}(), meta)
|
||||
testPatternConfig('{{ pattern }}', new {{ Pattern }}())
|
||||
|
|
|
@ -5,6 +5,7 @@ on:
|
|||
paths: &files
|
||||
- 'packages/{{ pattern }}/src/**.js'
|
||||
- 'packages/{{ pattern }}/config/**.js'
|
||||
- 'packages/{{ pattern }}/tests/**.js'
|
||||
- 'packages/{{ pattern }}/rollup.config.js'
|
||||
pull_request:
|
||||
paths: *files
|
||||
|
@ -17,7 +18,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
{{=<% %>=}}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
@ -28,6 +29,7 @@ jobs:
|
|||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
<%={{ }}=%>
|
||||
run: cd packages/{{ pattern }}
|
||||
- name: Build pattern
|
||||
run: npm run build --if-present
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Aaron = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('aaron', new Aaron(), meta)
|
||||
testPatternConfig('aaron', new Aaron())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Benjamin = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('benjamin', new Benjamin(), meta)
|
||||
testPatternConfig('benjamin', new Benjamin())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Bent = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('bent', new Bent(), meta)
|
||||
testPatternConfig('bent', new Bent())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Breanna = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('breanna', new Breanna(), meta)
|
||||
testPatternConfig('breanna', new Breanna())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Brian = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('brian', new Brian(), meta)
|
||||
testPatternConfig('brian', new Brian())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Bruce = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('bruce', new Bruce(), meta)
|
||||
testPatternConfig('bruce', new Bruce())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Carlita = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('carlita', new Carlita(), meta)
|
||||
testPatternConfig('carlita', new Carlita())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Carlton = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('carlton', new Carlton(), meta)
|
||||
testPatternConfig('carlton', new Carlton())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Cathrin = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('cathrin', new Cathrin(), meta)
|
||||
testPatternConfig('cathrin', new Cathrin())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Examples = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('examples', new Examples(), meta)
|
||||
testPatternConfig('examples', new Examples())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Florent = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('florent', new Florent(), meta)
|
||||
testPatternConfig('florent', new Florent())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Fu = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('fu', new Fu(), meta)
|
||||
testPatternConfig('fu', new Fu())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Holmes = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('holmes', new Holmes(), meta)
|
||||
testPatternConfig('holmes', new Holmes())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Huey = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('huey', new Huey(), meta)
|
||||
testPatternConfig('huey', new Huey())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Hugo = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('hugo', new Hugo(), meta)
|
||||
testPatternConfig('hugo', new Hugo())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Jaeger = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('jaeger', new Jaeger(), meta)
|
||||
testPatternConfig('jaeger', new Jaeger())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Penelope = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('penelope', new Penelope(), meta)
|
||||
testPatternConfig('penelope', new Penelope())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Rendertest = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('rendertest', new Rendertest(), meta)
|
||||
testPatternConfig('rendertest', new Rendertest())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Sandy = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('sandy', new Sandy(), meta)
|
||||
testPatternConfig('sandy', new Sandy())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Shin = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('shin', new Shin(), meta)
|
||||
testPatternConfig('shin', new Shin())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Simon = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('simon', new Simon(), meta)
|
||||
testPatternConfig('simon', new Simon())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Simone = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('simone', new Simone(), meta)
|
||||
testPatternConfig('simone', new Simone())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Sven = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('sven', new Sven(), meta)
|
||||
testPatternConfig('sven', new Sven())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Tamiko = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('tamiko', new Tamiko(), meta)
|
||||
testPatternConfig('tamiko', new Tamiko())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Theo = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('theo', new Theo(), meta)
|
||||
testPatternConfig('theo', new Theo())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Trayvon = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('trayvon', new Trayvon(), meta)
|
||||
testPatternConfig('trayvon', new Trayvon())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Tutorial = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('tutorial', new Tutorial(), meta)
|
||||
testPatternConfig('tutorial', new Tutorial())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Wahid = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('wahid', new Wahid(), meta)
|
||||
testPatternConfig('wahid', new Wahid())
|
||||
|
|
|
@ -3,8 +3,5 @@
|
|||
const Waralee = require('../dist')
|
||||
const testPatternConfig = require('../../../tests/patterns/config')
|
||||
|
||||
// The pattern's metadata from package.json
|
||||
const meta =
|
||||
|
||||
// Test config
|
||||
testPatternConfig('waralee', new Waralee(), meta)
|
||||
testPatternConfig('waralee', new Waralee())
|
||||
|
|
|
@ -481,27 +481,33 @@ function configurePatternUnitTests(pkg, config) {
|
|||
Pattern: capitalize(pkg)
|
||||
};
|
||||
for (let file of ["config.test.js"]) {
|
||||
let template = handlebars.compile(
|
||||
fs.readFileSync(path.join(source, file), "utf-8")
|
||||
fs.writeFileSync(
|
||||
path.join(dest, file),
|
||||
Mustache.render(
|
||||
fs.readFileSync(path.join(source, file), "utf-8"),
|
||||
replace
|
||||
)
|
||||
);
|
||||
fs.writeFileSync(path.join(dest, file), template(replace));
|
||||
}
|
||||
// Add workflow file for Github actions
|
||||
let template = handlebars.compile(
|
||||
fs.readFileSync(path.join(
|
||||
fs.writeFileSync(
|
||||
path.join(
|
||||
config.repoPath,
|
||||
'config',
|
||||
'templates',
|
||||
'.github',
|
||||
'workflows',
|
||||
'tests.pattern.yml'
|
||||
), "utf-8")
|
||||
`tests.${pkg}.yml`
|
||||
),
|
||||
Mustache.render(
|
||||
fs.readFileSync(path.join(
|
||||
config.repoPath,
|
||||
'config',
|
||||
'templates',
|
||||
'workflows',
|
||||
'tests.pattern.yml'
|
||||
), "utf-8"),
|
||||
replace
|
||||
)
|
||||
);
|
||||
fs.writeFileSync(path.join(
|
||||
config.repoPath,
|
||||
'.github',
|
||||
'workflows',
|
||||
`tests.${pkg}.yml`
|
||||
), template(replace));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -4,18 +4,8 @@
|
|||
*
|
||||
* @param string me: Name of the pattern (eg 'aaron')
|
||||
* @param object Pattern: Instantiated pattern object
|
||||
* @param object meta: Object that holds pattern metadata eg: {
|
||||
* name: 'aaron',
|
||||
* version: '2.4.3',
|
||||
* design: 'Joost De Cock',
|
||||
* code: 'Joost De Cock',
|
||||
* department: 'unisex',
|
||||
* type: 'pattern',
|
||||
* difficulty: 3,
|
||||
* tags: [ 'underwear', 'top', 'basics' ],
|
||||
* }
|
||||
*/
|
||||
const testPatternConfig = (design, pattern, meta) => {
|
||||
const testPatternConfig = (design, pattern) => {
|
||||
const expect = require("chai").expect;
|
||||
const models = require("@freesewing/models")
|
||||
const patterns = require("@freesewing/pattern-info")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue