Browse Source

chore: add pressbooks-build-tools as devDependency (#265)

* update package.json
* Update WP text matrix
pull/263/head
Steel Wagstaff 4 years ago committed by GitHub
parent
commit
0d66e94654
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .github/workflows/.pipeline.yml
  2. 17318
      package-lock.json
  3. 13
      package.json

7
.github/workflows/.pipeline.yml

@ -13,7 +13,7 @@ jobs:
matrix:
php: [ 7.3 ]
os: [ ubuntu-18.04 ]
wordpress: [ 5.6.2, 5.7.2 ]
wordpress: [ 5.7.2, latest ]
name: Test - PHP ${{ matrix.php }} - WP ${{ matrix.wordpress }}
@ -53,10 +53,10 @@ jobs:
run: |
node -v
npm install
npm run install-build-tools
export PATH="$HOME/.composer/vendor/bin:$PATH"
composer install --no-interaction
composer global require "phpunit/phpunit:7.5.20"
- name: Run Lint
run: composer standards
@ -67,8 +67,7 @@ jobs:
run: composer require pcov/clobber; vendor/bin/pcov clobber; vendor/bin/phpunit --configuration phpunit.xml --coverage-clover coverage.xml
- name: Run Frontend Tests
run: |
npm run test
run: npm run test
- name: Run PHP Tests
run: vendor/bin/phpunit

17318
package-lock.json generated

File diff suppressed because it is too large Load Diff

13
package.json

@ -37,10 +37,13 @@
"tinymce": true
},
"rules": {
"import/no-anonymous-default-export": ["error", {
"import/no-anonymous-default-export": [
"error",
{
"allowArrowFunction": true,
"allowObject": true
}],
}
],
"jsdoc/require-param-type": "off",
"jsdoc/require-returns": "off",
"jsdoc/require-param-description": "off",
@ -68,9 +71,11 @@
"engines": {
"node": ">= 10"
},
"devDependencies": {},
"devDependencies": {
"pressbooks-build-tools": "^3.0.1"
},
"dependencies": {
"aetna": "^1.0.0-alpha.26",
"aetna": "^1.0.0-alpha.27",
"isotope-layout": "^3.0.6",
"jquery-bridget": "^2.0.1"
}

Loading…
Cancel
Save