Peter Bengtsson
26014646dd
Massive DIFF_FILES crashes bash in repo-sync ( #23326 )
...
* Massive DIFF_FILES crashes bash in repo-sync
Part of #1304
* gst
* make exception
2021-12-02 18:57:38 +00:00
dependabot[bot]
038e81826b
Bump actions/checkout from 2.3.5 to 2.4.0 ( #23297 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](1e204e9a92...ec3a7ce113 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2021-12-02 14:15:21 +00:00
dependabot[bot]
95edf7be45
Bump actions/setup-node from 2.4.1 to 2.5.0 ( #23293 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](270253e841...04c56d2f95 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2021-12-02 13:25:56 +00:00
Peter Bengtsson
480159e778
only lint the files that changed ( #22924 )
...
* only lint the files that changed
* allowed action
* do nothing
* debug more
* less debugging
* debug
* debug
* debug
* using patterns
* testing something
* testing something (2)
* lemme try something
* lemme try something
* one more attempt
* testing
* tidying up
* sample changes
* add debugging
* some code comments
* fine but sample changes
* update allowed actions
* final cleaning before opening PR for review
* tiny update
* remove commented out code
* feedbacked
2021-11-18 03:03:47 +00:00
Peter Bengtsson
22f21db4a3
use Node 16.13.x for CI workflows ( #22758 )
...
Part of #1203
2021-11-11 01:23:13 +00:00
Marcelo Jacobus
ed9e3d79cb
Add test and script to ensure 1:1 parity of liquid tags between source and translation ( #22472 )
...
Co-authored-by: Peter Bengtsson <peterbe@github.com >
2021-11-04 10:59:17 -03:00
dependabot[bot]
cd74b07da1
Bump actions/checkout from 2.3.4 to 2.3.5 ( #22264 )
...
* Bump actions/checkout from 2.3.4 to 2.3.5
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](5a4ac9002d...1e204e9a92 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* test
* removing test, works
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com >
2021-10-21 00:19:35 +00:00
Peter Bengtsson
9964a6619c
separate 'npm test' from 'npm lint' ( #22191 )
...
* separate 'npm test' from 'npm lint'
* remove delberately eslint violation (but keep prettier violation)
* undo prettier violation
* tighten up us of our scripts for testing and lint
2021-10-18 19:58:56 +00:00
dependabot[bot]
5201ca8813
Bump actions/setup-node from 2.2.0 to 2.4.1 ( #22109 )
...
* Bump actions/setup-node from 2.2.0 to 2.4.1
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2.2.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](38d90ce44d...270253e841 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* allow it moar
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <mail@peterbe.com >
2021-10-18 13:33:34 -04:00
Mike Surowiec
3c0e4e03b8
fix: pin workflow node-version to 16.8.x ( #21361 )
2021-09-08 11:08:53 -04:00
James M. Greene
265f074565
Update actions-linter to latest for concurrency key support ( #20441 )
...
* Update version of actions-linter to support 'concurrency' key
* Update .github/workflows/workflow-lint.yml
* Revert casing of 'fromJson' to 'fromJSON'
2021-07-21 15:40:42 +00:00
Kevin Heis
42e785b0a8
Migrate CommonJS to ESM ( #20301 )
...
* First run of script
* Get the app running --- ish
* Get NextJS working
* Remove `node:`
* Get more tests passing in unit directory
* Update FailBot test to use nock
* Update test.yml
* Update Dockerfile
* tests/content fixes
* Update page.js
* Update build-changelog.js
* updating tests/routing
* Update orphan-tests.js
* updating tests/rendering
* Update .eslintrc.js
* Update .eslintrc.js
* Install jest/globals
* "linting" tests
* staging update to server.mjs
* Change '.github/allowed-actions.js' to a ESM export
* Lint
* Fixes for the main package.json
* Move Jest to be last in the npm test command so we can pass args
* Just use 'npm run lint' in the npm test command
* update algolia label script
* update openapi script
* update require on openapi
* Update enterprise-algolia-label.js
* forgot JSON.parse
* Update lunr-search-index.js
* Always explicitly include process.cwd() for JSON file reads pathed from project root
* update graphql/update-files.js script
* Update other npm scripts using jest to pass ESM NODE_OPTIONS
* Update check-for-enterprise-issues-by-label.js for ESM
* Update create-enterprise-issue.js for ESM
* Import jest global for browser tests
* Convert 'script/deploy' to ESM
Co-authored-by: Grace Park <gracepark@github.com >
Co-authored-by: James M. Greene <jamesmgreene@github.com >
2021-07-14 13:49:18 -07:00
James M. Greene
149864b7ba
Use the easy npm caching now built into actions/setup-node ( #20316 )
2021-07-13 10:42:07 -05:00
James M. Greene
7662b43a07
Update casing of 'fromJSON' to 'fromJson' in our workflow files ( #19933 )
2021-06-15 21:37:46 +00:00
Mike Surowiec
c4166202a1
feat: upgrade to node v16, package-lock.json v2, remove aws-sdk
2021-05-20 13:32:19 -07:00
Kevin Heis
cc0d0ce4b4
Increase actions tests memory ( #19179 )
2021-05-06 11:35:49 -07:00
Sarah Schneider
1d79e16d76
update test workflows
2021-04-28 14:40:50 -04:00
Chiedo John
c6a0f4dc8d
No more skipping workflows ( #18674 )
...
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
2021-04-09 11:31:54 -04:00
Kevin Heis
62a8891954
Add descriptions to our actions workflows ( #18019 )
...
Co-authored-by: Sarah Edwards <skedwards88@github.com >
2021-03-23 21:31:28 +00:00
James M. Greene
0eec258c01
Fix git branch inconsistencies for Actions ( #18309 )
...
* Update workflows to pass appropriate branch name for pull_request events
* Update Docker building workflow to check appropriate branch name for pull_request events
* Update Windows testing workflow for consistency with non-Windows testing workflow
* Reorder if conditional check
* Update workflow comment
2021-03-18 14:31:31 -05:00
James M. Greene
0d02e1c142
Run the normal JS tests on CrowdIn PRs and remove the alternative workflow ( #17794 )
2021-02-11 01:28:07 +00:00
James M. Greene
a469193704
Test workflow and jest configuration cleaning ( #17759 )
2021-02-09 10:52:28 -06:00
Chiedo John
852a8cde15
Use self-hosted runners for docs-internal ( #17442 )
...
Use self hosted runners for docs-internal
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2021-01-25 08:41:53 -05:00
Sarah Schneider
295e5dc1f0
upgrade to setup-node v2
2021-01-22 10:54:20 -05:00
Sarah Schneider
b19b50c347
ra npx prettier -w .github/workflows/test.yml
2021-01-21 16:58:07 -05:00
Sarah Schneider
76a3706214
link check should only run via separate workflow not test.yml
2021-01-21 16:50:26 -05:00
Sarah Schneider
1258092a41
Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt
2020-12-02 14:22:10 -05:00
Sarah Schneider
6d82e46580
lint
2020-12-02 12:30:45 -05:00
Robert Mosolgo
fc54b4d43c
Fix lint errors
2020-11-25 16:30:37 -05:00
Robert Mosolgo
aeedfac37e
Add graphql tests to CI, move snapshots to fixures, use mockdate
2020-11-25 11:12:13 -05:00
James M. Greene
4962f91a13
Fix test workflow file
2020-11-17 14:50:43 -06:00
James M. Greene
909db6fcf4
Update EA cloning script to rely on the current git branch
2020-11-17 14:13:14 -06:00
Nick Schonning
92740f68d7
chore: Add Prettier for Yaml formatting
...
Related to #128
- Prettier to fix indenting/quoting across files
- Manually adjust list styles to "-" style
- Ignore all translated files from automated formatting
- Drop redundant CI env variable
2020-11-16 16:12:49 -05:00
Kevin Heis
dd02bfa007
Merge main
2020-11-16 10:07:53 -08:00
Chiedo
5e6c30a4a8
Revert "chore: flatten ifs for fkirc/skip-duplicate-actions"
...
This reverts commit d9d17364e3 .
2020-11-16 09:07:00 -05:00
James M. Greene
dac5bc7867
Don't re-run build for Actions in the internal repo
2020-11-10 16:01:18 -06:00
James M. Greene
e1f3f6457e
Merge branch 'main' into hidden-docs-alt
2020-11-09 13:09:52 -06:00
James M. Greene
f410fd175c
Mostly reverting github/docs-internal#15313
2020-11-09 13:07:04 -06:00
Nick Schonning
71b6ee7641
chore: Upgrade actions/cache to v2.1.3
2020-11-09 10:19:53 -05:00
Nick Schonning
d9d17364e3
chore: flatten ifs for fkirc/skip-duplicate-actions
2020-11-06 15:39:03 -05:00
Nick Schonning
bf478c15dd
chore: Set timeout of 60 minutes for test job
2020-11-06 11:55:06 -05:00
Nick Schonning
c058d4aad8
chore: Update actions/checkout to v2.3.4
2020-11-05 18:05:39 -05:00
James M. Greene
2be96edf73
Try using actions/checkout's persist-credentials input instead of manually changing the local git config
2020-11-04 11:19:46 -06:00
Nick Schonning
4fb87ade22
chore: Pull JS Linting to separate Action
...
Only trigger if JS, package, or Action file is changed
2020-11-04 10:46:47 -05:00
Sarah Schneider
0cf94f26b7
Merge branch 'main' of https://github.com/github/docs-internal into hidden-docs-alt
2020-11-03 17:09:22 -05:00
Chiedo John
c116efe725
Crowdin translations (translation-batch-1604415979) ( #16312 )
...
* New Crowdin translations by Github Action
* Revert broken translated files to English
* Revert broken translations
* Revert broken translations
* Revert more broket translations
* Revert broken translation
* Increase Node memory limit for running Jest
* Allow Node to use more memory for Jest
* Increase Node memory limit for running Jest
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
Co-authored-by: Chiedo <chiedo@users.noreply.github.com >
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2020-11-03 16:15:55 -05:00
James M. Greene
e913c26006
Try ONLY clearing out the extraHeader value rather than overwriting it
2020-11-03 12:11:23 -06:00
James M. Greene
da7afd4e55
Manually override GitHub Actions extraHeader
2020-11-03 12:02:37 -06:00
James M. Greene
7514a54785
Remove EA cloning from lint -- no JS files in there to lint
2020-11-03 10:56:46 -06:00
James M. Greene
3008ad1b70
Update all heroku-prebuild refs to heroku-postbuild
2020-11-03 10:30:11 -06:00