1
0
Fork 0

fix(actions): Fixed typo in workflows

This commit is contained in:
Joost De Cock 2021-11-27 17:07:53 +01:00
parent 3d6ddb5957
commit 08b91098b1
26 changed files with 102 additions and 98 deletions

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-banner
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-banner && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-banner && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-banner && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-bartack
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-bartack && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-bartack && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-bartack && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-bundle
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-bundle && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-bundle && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-bundle && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-bust
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-bust && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-bust && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-bust && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-buttons
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-buttons && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-buttons && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-buttons && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-cutonfold
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-cutonfold && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-cutonfold && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-cutonfold && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-dimension
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-dimension && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-dimension && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-dimension && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-export-dxf
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-export-dxf && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-export-dxf && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-export-dxf && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-flip
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-flip && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-flip && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-flip && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-gore
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-gore && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-gore && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-gore && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-grainline
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-grainline && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-grainline && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-grainline && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-i18n
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-i18n && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-i18n && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-i18n && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-logo
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-logo && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-logo && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-logo && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-measurements
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-measurements && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-measurements && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-measurements && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-mirror
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-mirror && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-mirror && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-mirror && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-notches
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-notches && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-notches && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-notches && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-round
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-round && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-round && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-round && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-scalebox
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-scalebox && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-scalebox && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-scalebox && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-sprinkle
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-sprinkle && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-sprinkle && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-sprinkle && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-svgattr
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-svgattr && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-svgattr && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-svgattr && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-theme
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-theme && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-theme && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-theme && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-title
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-title && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-title && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-title && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-validate
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-validate && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-validate && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-validate && npm run testci

View file

@ -1,4 +1,4 @@
name: Unit tests -
name: Unit tests - Plugin-versionfree-svg
on:
push:
@ -31,10 +31,10 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/ && npm install @freesewing/models@2.19.5 @freesewing/pattern-info@2.19.5 mocha chai"
run: "cd packages/plugin-versionfree-svg && npm install mocha chai"
env:
CI: true
- name: Build plugin
run: cd packages/ && npm run build
run: cd packages/plugin-versionfree-svg && npm run build
- name: Run plugin unit tests
run: cd packages/ && npm run testci
run: cd packages/plugin-versionfree-svg && npm run testci

View file

@ -33,7 +33,7 @@ jobs:
env:
CI: true
- name: Install peer & test dependencies
run: "cd packages/{{ plugin }} && npm install {{{ peerdeps }}} @freesewing/models@{{{ version }}} @freesewing/pattern-info@{{{ version }}} mocha chai"
run: "cd packages/{{ plugin }} && npm install {{{ peerdeps }}} mocha chai"
env:
CI: true
- name: Build plugin

View file

@ -459,7 +459,11 @@ function configurePkgUnitTests(type, pkg, config) {
.map((dep) => dep + '@' + peerdeps[dep])
.join(' ')
}
: { version }
: {
version,
plugin: pkg,
Plugin: capitalize(pkg),
}
for (const file of ['shared.test.mjs']) {
fs.writeFileSync(