Browse Source

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

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

9
.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
@ -99,4 +98,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files:
${{github.workspace}}/*.zip
${{github.workspace}}/*.zip

17660
package-lock.json generated

File diff suppressed because it is too large Load Diff

29
package.json

@ -36,16 +36,19 @@
"PB_A11y": true,
"tinymce": true
},
"rules": {
"import/no-anonymous-default-export": ["error", {
"allowArrowFunction": true,
"allowObject": true
}],
"jsdoc/require-param-type": "off",
"jsdoc/require-returns": "off",
"jsdoc/require-param-description": "off",
"jsdoc/no-undefined-types": "off"
}
"rules": {
"import/no-anonymous-default-export": [
"error",
{
"allowArrowFunction": true,
"allowObject": true
}
],
"jsdoc/require-param-type": "off",
"jsdoc/require-returns": "off",
"jsdoc/require-param-description": "off",
"jsdoc/no-undefined-types": "off"
}
},
"eslintIgnore": [
"assets/scripts/catalog-admin.js",
@ -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