@ -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,8 @@ jobs:
run: composer require pcov/clobber; vendor/bin/pcov clobber; vendor/bin/phpunit --configuration phpunit.xml --coverage-clover coverage.xml
- name: Run Frontend Tests
npm run test
run: npm run test
- name: Run PHP Tests
run: vendor/bin/phpunit
@ -99,4 +99,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files:
${{github.workspace}}/*.zip
@ -45,7 +45,6 @@
"extends": "./node_modules/pressbooks-build-tools/config/stylelint.js"
},
"scripts": {
"install-build-tools": "npm install --no-save pressbooks-build-tools",
"watch": "npm run production -- --watch",
"prod": "npm run production",
"build:production": "npm run production",
@ -59,7 +58,9 @@
"engines": {
"node": ">= 10"
"devDependencies": {},
"devDependencies": {
"pressbooks-build-tools": "^3.0.1"
"dependencies": {
"aetna": "^1.0.0-alpha.26",
"isotope-layout": "^3.0.6",