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. 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: matrix:
php: [ 7.3 ] php: [ 7.3 ]
os: [ ubuntu-18.04 ] os: [ ubuntu-18.04 ]
wordpress: [ 5.6.2, 5.7.2 ] wordpress: [ 5.7.2, latest ]
name: Test - PHP ${{ matrix.php }} - WP ${{ matrix.wordpress }} name: Test - PHP ${{ matrix.php }} - WP ${{ matrix.wordpress }}
@ -53,10 +53,10 @@ jobs:
run: | run: |
node -v node -v
npm install npm install
npm run install-build-tools
export PATH="$HOME/.composer/vendor/bin:$PATH" export PATH="$HOME/.composer/vendor/bin:$PATH"
composer install --no-interaction composer install --no-interaction
composer global require "phpunit/phpunit:7.5.20" composer global require "phpunit/phpunit:7.5.20"
- name: Run Lint - name: Run Lint
run: composer standards 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 run: composer require pcov/clobber; vendor/bin/pcov clobber; vendor/bin/phpunit --configuration phpunit.xml --coverage-clover coverage.xml
- name: Run Frontend Tests - name: Run Frontend Tests
run: | run: npm run test
npm run test
- name: Run PHP Tests - name: Run PHP Tests
run: vendor/bin/phpunit run: vendor/bin/phpunit
@ -99,4 +98,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
files: 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, "PB_A11y": true,
"tinymce": true "tinymce": true
}, },
"rules": { "rules": {
"import/no-anonymous-default-export": ["error", { "import/no-anonymous-default-export": [
"allowArrowFunction": true, "error",
"allowObject": true {
}], "allowArrowFunction": true,
"jsdoc/require-param-type": "off", "allowObject": true
"jsdoc/require-returns": "off", }
"jsdoc/require-param-description": "off", ],
"jsdoc/no-undefined-types": "off" "jsdoc/require-param-type": "off",
} "jsdoc/require-returns": "off",
"jsdoc/require-param-description": "off",
"jsdoc/no-undefined-types": "off"
}
}, },
"eslintIgnore": [ "eslintIgnore": [
"assets/scripts/catalog-admin.js", "assets/scripts/catalog-admin.js",
@ -68,9 +71,11 @@
"engines": { "engines": {
"node": ">= 10" "node": ">= 10"
}, },
"devDependencies": {}, "devDependencies": {
"pressbooks-build-tools": "^3.0.1"
},
"dependencies": { "dependencies": {
"aetna": "^1.0.0-alpha.26", "aetna": "^1.0.0-alpha.27",
"isotope-layout": "^3.0.6", "isotope-layout": "^3.0.6",
"jquery-bridget": "^2.0.1" "jquery-bridget": "^2.0.1"
} }

Loading…
Cancel
Save