Commit Graph
100 Commits
Author SHA1 Message Date
James M. Greene 1f9ca39237 Fix bad reference in string interpolation
Regression from https://github.com/actions/configure-pages/pull/21
2022-09-16 21:54:58 -05:00
James M. Greene 1cefe6fc7c Remove unnecessary try/catch 2022-09-16 21:50:49 -05:00
James M. Greene 25a1ec8799 Add eslint configuration and scripts 2022-09-16 21:48:52 -05:00
James M. Greene 6e4f93b15d Add eslint dependency and plugins 2022-09-16 20:47:23 -05:00
James M. Greene 45efe60937 Apply consistent spacing and use of single quotes 2022-09-11 10:23:22 -05:00
James M. Greene 35c001ded6 Dereference as 'path'
This minimizes the changes to the codebase, as well as slightly clarifying that its value may not remain the same as the 'pathname'
2022-09-11 10:23:22 -05:00
James M. Greene 27457957e6 Merge pull request #21 from AndrewLester/ssg-origin
Use GitHub Pages site origin for setting up SSG configs
2022-09-11 10:21:18 -05:00
James M. Greene f53b57ff56 Merge pull request #20 from actions/update-major-on-full-releases
Update major version only on full releases
2022-08-19 13:21:44 -05:00
James M. Greene 6d1d650751 Update major version only on full releases 2022-08-19 12:44:16 -05:00
James M. Greene 61fd3a3cc1 Merge pull request #19 from actions/no-trailing-slashes
[BREAKING] Remove the trailing slash from `base_url` and `base_path` outputs
2022-08-19 09:27:06 -05:00
James M. Greene 0ec542a837 Update distributables 2022-08-18 18:08:52 -05:00
James M. Greene 3a90973fd3 Use local module for removing trailing slash to reduce duplication 2022-08-18 18:08:30 -05:00
James M. Greene dc5b850bfd breaking: Remove trailing slash from base_url and base_path outputs 2022-08-18 18:08:30 -05:00
James M. Greene 9a141972ca Merge pull request #18 from actions/dependabot/npm_and_yarn/actions/core-1.9.1
Bump @actions/core from 1.8.2 to 1.9.1
2022-08-18 18:06:10 -05:00
James M. Greene 7d9bb68583 Update distributables 2022-08-18 18:04:58 -05:00
James M. Greene f71d3d08f0 Merge pull request #16 from AndrewLester/ssg-sveltekit
Add SvelteKit as an option for static_site_generator setting
2022-08-17 14:42:52 -05:00
James M. Greene 9ff7f29195 Update dist map 2022-08-17 14:41:47 -05:00
James M. Greene 9b7553ef7f Change environment variable data type to explicit string 2022-08-17 14:34:23 -05:00
James M. Greene c61e34fb27 Merge pull request #12 from actions/better-docs
Improve a few contribution notes in the README
2022-08-10 14:19:56 -05:00
James M. Greene a220556ffe Merge branch 'main' into better-docs 2022-08-10 14:10:38 -05:00
James M. Greene 491169de17 Revise release procedure 2022-08-10 14:10:15 -05:00
James M. Greene f19391002a Merge pull request #17 from actions/marketplace-action-rename
Rename to include "GitHub" in "GitHub Pages" for Marketplace
2022-08-10 13:58:37 -05:00
James M. Greene 742be05113 Update action.yml 2022-08-10 12:52:41 -05:00
James M. Greene 90b7c04b80 Merge branch 'main' into better-docs 2022-08-10 10:00:39 -05:00
James M. Greene 15f519fab9 Merge pull request #15 from actions/ssg-config-file-input
Add support for specifying the SSG configuration file path
2022-08-10 09:18:00 -05:00
James M. Greene f5b4063a62 Update distributables properly 2022-08-10 09:02:07 -05:00
James M. Greene d06799dbbe Fix typo in dist 2022-08-10 08:57:37 -05:00
James M. Greene fad78054b6 Fix typo in src 2022-08-10 08:56:12 -05:00
James M. Greene 64fa685553 Rebuild distributables 2022-08-09 11:23:03 -05:00
James M. GreeneandYoann Chaudet 891eba7f6e Update src/config-parser.js
Co-authored-by: Yoann Chaudet <[email protected]>
2022-08-09 11:22:14 -05:00
James M. Greene 9f6ed02477 Tweak the title and description in README 2022-08-08 11:15:41 -05:00
James M. Greene 68595d0746 Update distributables 2022-08-05 17:47:09 -05:00
James M. Greene 4f27d51853 Add support for indirect default export declarations 2022-08-05 17:44:40 -05:00
James M. Greene 1395534a78 Hoist important arrays to top-level constants 2022-08-05 17:37:00 -05:00
James M. Greene 7c3932ff89 Add support for specifying the target generator config file 2022-08-05 17:35:23 -05:00
James M. Greene 404d23c4a6 Merge pull request #13 from actions/prettier
Prettier formatting
2022-08-05 17:29:38 -05:00
James M. Greene 06406d74b2 Merge branch 'main' into prettier 2022-08-05 17:28:54 -05:00
James M. Greene cc95980c79 Merge pull request #14 from actions/workflow-audit
Workflow audit
2022-08-05 17:28:32 -05:00
James M. Greene 4f84ed2a14 Add concurrency settings to PR-based workflows 2022-08-05 15:54:53 -05:00
James M. Greene f19d25133d Ensure minimal permissions are explicit on all workflows 2022-08-05 15:54:15 -05:00
James M. Greene f24e879a69 Add concurrency and permissions to workflow 2022-08-05 15:44:58 -05:00
James M. Greene da85ca493f Update fixtures with Prettier formatting 2022-08-05 15:40:25 -05:00
James M. Greene d949e1515f Rename Prettier config file extension for consistency 2022-08-05 15:39:17 -05:00
James M. Greene c69bbc2c2c Fix one expected test fixture given Prettier configuration 2022-08-05 15:35:48 -05:00
James M. Greene 8441c1b1dc Improve a few contribution notes in the README 2022-08-05 15:29:09 -05:00
James M. Greene 4036d0f035 Add a workflow to verify Prettier formatting 2022-08-05 15:28:22 -05:00
James M. Greene 5c1535b807 Update all source files to match expected Prettier formatting 2022-08-05 15:26:05 -05:00
James M. Greene e22fa7ebed Merge pull request #11 from actions/improve-action-manifest
Improve Actions manifest
2022-08-05 13:40:43 -05:00
James M. Greene 635cafe472 Use single quotes everywhere for consistency in Actions manifest 2022-08-05 13:29:15 -05:00
James M. Greene 7c6340377c Add author to Action manifest 2022-08-05 13:28:40 -05:00
James M. Greene 542786ddbc Improve and shorten description for Marketplace publication 2022-08-05 13:27:44 -05:00
James M. Greene c4a801b850 Merge pull request #9 from actions/dist-check-workflow
Add workflow to verify distributables are built
2022-08-05 13:10:05 -05:00
James M. Greene fcc627b194 Merge branch 'main' into dist-check-workflow 2022-08-05 13:09:06 -05:00
James M. Greene 2fc7b604aa Add explicit permissions to workflow 2022-08-05 13:08:52 -05:00
James M. Greene bcfa2c863c Merge pull request #8 from actions/cleanup-test-workflow
Cleanup formatting of test workflow
2022-08-05 13:07:40 -05:00
James M. Greene c95cb0d322 Merge pull request #7 from actions/pkg-metadata
Correct a few metadata field values in the `package.json`
2022-08-05 13:07:25 -05:00
James M. Greene d2f9056bbc Merge pull request #6 from actions/optional-enablement
Make Pages enablement (and write permissions) optional
2022-08-05 13:06:58 -05:00
James M. Greene b619d6bb2a Make certain the env var isn't present during testing 2022-08-05 12:59:28 -05:00
James M. Greene 1f779755f8 Readd distributables 2022-08-05 12:13:48 -05:00
James M. Greene bce63914b1 Incorporate the spirit of changes from https://github.com/actions/configure-pages/pull/10 2022-08-05 12:13:23 -05:00
James M. Greene 0a94d4c3bb Merge branch 'main' into optional-enablement 2022-08-05 12:05:17 -05:00
James M. Greene 2a2b0fadb6 Remove diff of 'pre' since this Action doesn't have that directory 2022-08-03 21:47:18 -05:00
James M. Greene e2ea66d572 Revise comment 2022-08-03 21:46:57 -05:00
James M. Greene 55225928a1 Add workflow to verify distributables are built 2022-08-03 18:30:55 -05:00
James M. Greene 62a7d4f2dc Cleanup formatting of test workflow 2022-08-03 18:30:19 -05:00
James M. Greene 929a1c7425 Correct a few metadata field values in the package.json 2022-08-03 18:24:31 -05:00
James M. Greene 17536ca11a Update organization name in tests 2022-08-03 18:19:57 -05:00
James M. Greene d801b818b5 Update dist 2022-08-03 18:10:24 -05:00
James M. Greene fc0fb71264 Delete old modules 2022-08-03 18:10:04 -05:00
James M. Greene af945d6133 Update index.js to utilize new modules 2022-08-03 18:09:46 -05:00
James M. Greene b2561d383d Add dedicated Actions-outputs module 2022-08-03 18:09:04 -05:00
James M. Greene bb42d7b1cb Add new API client to consolidate REST API calls 2022-08-03 18:08:29 -05:00
James M. Greene 0455a16aca Allow a user to manually opt-out of Pages site enablement 2022-08-02 20:45:01 -05:00
James M. Greene 49843a9170 Merge pull request #16 from paper-spa/latest-ecma
Update Espree configuration to allow for latest supported ECMA version
2022-07-22 18:06:07 -05:00
James M. Greene 86288138eb Fix spacing 2022-07-22 18:04:52 -05:00
James M. Greene 98aa330a29 Update Espree configuration to allow for latest supported ECMA version 2022-07-22 18:03:26 -05:00
James M. Greene e993237306 Update dist 2022-07-22 18:02:57 -05:00
James M. Greene 1fb9ba6653 Add tests that will fail with ECMA 6 parsing 2022-07-22 18:01:42 -05:00
James M. Greene 1457a09e2b Revert to using ECMA 6 2022-07-22 18:01:23 -05:00
James M. Greene 3480141499 Update Espree configuration to allow for latest supported ECMA version 2022-07-22 14:10:25 -05:00
James M. Greene 250c4fb989 Update dist files 2022-07-19 16:54:17 -05:00
James M. Greene 43a5456c3f Fix dist after installing dependencies 2022-07-19 13:02:27 -05:00
James M. Greene 2d3e762f19 Update dist for testing 2022-07-19 12:59:37 -05:00
James M. Greene b25b367b9a Update dist files again 2022-06-29 16:23:30 -05:00
James M. Greene 2290700960 Merge pull request #6 from paper-spa/sync-config-file-creation
Put default config file content directly into memory
2022-06-29 16:20:39 -05:00
James M. Greene 60a8abff5d Update dist files 2022-06-29 16:20:02 -05:00
James M. Greene 314b9356a8 Don't claim an empty/nonexistent file is invalid 2022-06-29 16:10:51 -05:00
James M. Greene ad72956e27 Use ' quotes 2022-06-29 16:07:12 -05:00
James M. Greene 592edb0d53 Put default config file content directly into memory 2022-06-29 15:56:54 -05:00
James M. Greene 495329285a Merge pull request #1 from paper-spa/url_parts
Add outputs for origin, host, and base path
2022-06-08 15:07:17 -05:00
James M. Greene e3014f169d Update dist 2022-06-08 15:05:27 -05:00
James M. Greene f996195597 Extract getPagesBaseUrl to separate module 2022-06-08 15:05:04 -05:00
James M. Greene 772a66836c Update dist 2022-06-08 12:02:29 -05:00
James M. Greene 11f3541eca Add outputs for origin, host, and base_path 2022-06-08 12:02:17 -05:00
James M. Greene 1775467e63 Remove input data from axios call 2022-06-07 14:56:40 -05:00
James M. Greene 42f1735373 Update dist 2022-06-07 14:52:07 -05:00
James M. Greene 73684454a7 Update dist folder 2022-06-07 14:41:59 -05:00
James M. Greene febf37f409 Remove nock as a devDep 2022-06-07 14:29:52 -05:00
James M. Greene 9da49662c1 Install nock as devDep 2022-06-07 14:27:18 -05:00
James M. Greene 1be290acd6 Add test script and Actions workflow 2022-06-07 14:25:56 -05:00