From a522e41c9368ea4185c9bb8083d4af25d2e36bba Mon Sep 17 00:00:00 2001 From: Steven Dufresne Date: Mon, 12 Jul 2021 15:00:38 +0900 Subject: [PATCH 1/2] Update Readme.md with theme instructions. --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 058c62b..6d90309 100644 --- a/README.md +++ b/README.md @@ -69,12 +69,10 @@ jobs: 1. Run `git clone git@github.com:WordPress/theme-review-action.git && cd theme-review-action`. 2. Run `npm install` to install dependencies. -3. Run `npm run start`. +3. Run `npm run start --pathToTheme=../my-theme`. The tests run on files within the `/test-theme` folder. -You can pass a relative path to your theme like so: `npm run start --pathToTheme=../my-theme`. - To see all the options run `npm run start -- --help`. **Output Location**: `/logs` folder. Files are replaced on each test run. From 962a03c57d0ae9e1afc2befe20938c7221f398e0 Mon Sep 17 00:00:00 2001 From: Steven Dufresne Date: Mon, 12 Jul 2021 15:03:45 +0900 Subject: [PATCH 2/2] Make sure it's passing through the script. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d90309..5d14f69 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ jobs: 1. Run `git clone git@github.com:WordPress/theme-review-action.git && cd theme-review-action`. 2. Run `npm install` to install dependencies. -3. Run `npm run start --pathToTheme=../my-theme`. +3. Run `npm run start -- --pathToTheme=../my-theme`. The tests run on files within the `/test-theme` folder.