From 64d79228d06e93ea245412c44025b40e767c00e6 Mon Sep 17 00:00:00 2001 From: Jon Jensen Date: Tue, 9 Jan 2024 10:50:20 -0800 Subject: [PATCH] Remove readability script --- .github/workflows/deploy_production.yml | 2 -- .github/workflows/eleventy_build_pr.yml | 2 -- package.json | 3 +-- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/deploy_production.yml b/.github/workflows/deploy_production.yml index 7eb13294..3d50aa13 100644 --- a/.github/workflows/deploy_production.yml +++ b/.github/workflows/deploy_production.yml @@ -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 diff --git a/.github/workflows/eleventy_build_pr.yml b/.github/workflows/eleventy_build_pr.yml index bf12d075..6053f84f 100644 --- a/.github/workflows/eleventy_build_pr.yml +++ b/.github/workflows/eleventy_build_pr.yml @@ -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 diff --git a/package.json b/package.json index 08bcf3e2..8cb84892 100644 --- a/package.json +++ b/package.json @@ -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"