Skip to content

Commit

Permalink
Remove readability script
Browse files Browse the repository at this point in the history
  • Loading branch information
xjensen committed Jan 9, 2024
1 parent 9b5b230 commit 64d7922
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
run: |
npm install
npm run build
npm run readability
npm run build
npx playwright install
npm test
# Push built site files to S3 production bucket
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/eleventy_build_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ jobs:
mkdir dist
npm ci --production
DOMAIN=${URLSAFE_BRANCH_NAME}.pr.digital.ca.gov npm run build
npm run readability
DOMAIN=${URLSAFE_BRANCH_NAME}.pr.digital.ca.gov npm run build
- name: Write robots.txt
run: |
echo 'User-agent: *' > _site/robots.txt
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@
"scripts": {
"build": "eleventy",
"dev": "npm run site:watch:dev",
"readability": "node scoring/readability.mjs",
"site:build:dev": "cross-env NODE_ENV=development eleventy",
"site:watch:dev": "cross-env NODE_ENV=development eleventy --serve --incremental",
"site:watch": "eleventy --serve",
"start": "npm run readability && npm run site:watch",
"start": "npm run site:watch",
"test": "npx playwright test test/index.spec.mjs",
"test:serve": "npm run build && npx http-server _site/",
"test:setup": "npx playwright install-deps chromium && npx playwright install"
Expand Down

0 comments on commit 64d7922

Please sign in to comment.