Axel Hecht
2a503ef9b5
Fix a few nits in tests and automation. Don't try to wordcount ls-rem… ( #546 )
...
* Fix a few nits in tests and automation. Don't try to wordcount ls-remote.
Nits in tests are around undoing changes made to the environment,
and to not modify the checkout.
* Describe suite with empty SHA
2020-12-15 10:58:52 -05:00
James Ives
570f002e7e
Update worktree.ts
2020-12-14 12:41:27 -05:00
Axel Hecht
4e40ddd3f5
Test current code base as an integration test for PRs and pushes ( #505 )
...
* Add a build step to create lib and node_modules artifact
* Run integration test with built dist and current SHA as base
For pull requests, the github.sha is the sha of the merge to the
target branch, not the head of the PR. Special case that.
* Use v2 checkout, and DRY_RUN for the integration test.
I also made the branches more generic, as there are now more of them.
* Fix #536 , don't push at all on dryRun
Also add tests for dryRun and singleCommit and generateBranch
code flows.
* Try to fix dryRun on new remote branches, refactor fetch
* Try to fix dryRun, only fetch if origin branch exists
* Refactor worktree setup to include branch generation and setup for singleCommit
This is a continuation of the no-checkout work, and sadly suggested pretty
intensive changes.
* Set up git config to fix tests, also make debugging easier
* Add matrix for existing and non-existing branch
* Add matrix for singleCommit and not
* Drop GITHUB_TOKEN, add DRY_RUN to action.yml
* When deploying existing branch, add a modifcation and deploy again
* Force branch checkout to work in redeployment scenarios
* Make singleCommit easier to see in job descriptions
* Review comments
* Add a test-only property to action to test code paths with remote branch.
* Introduce TestFlag enum to signal different test scenarios to unit tests
* Fix util.test.ts
2020-12-14 12:30:22 -05:00
James Ives
ac885860a8
Removing stale bot integration
2020-12-14 10:33:37 -05:00
James Ives
27009d7a96
Stores username/email in secrets
2020-12-14 10:31:54 -05:00
Axel Hecht
0da20f04b8
Add workflow to update build and node_modules on release branches ( #541 )
2020-12-14 10:26:48 -05:00
James Ives
79dbd5183d
Merge branch 'dev' into dev-v4
2020-12-11 09:36:45 -05:00
dependabot[bot]
4873c40420
Bump @types/jest from 26.0.18 to 26.0.19 ( #539 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.18 to 26.0.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 09:36:33 -05:00
Axel Hecht
a92aacd4ba
Adjust codeql action to latest recommendations ( #540 )
...
Also, add the dev and release branches, and drop master.
2020-12-11 09:36:21 -05:00
James Ives
7a94841600
Simplifies Token Setup ( #530 )
...
* Token simplification
* Access Token / Github Token -> Token
* Oops
* Typos
* Update README.md
* Update README.md
* Update action.yml
Co-authored-by: Axel Hecht <axel@pike.org>
* Update README.md
Co-authored-by: Axel Hecht <axel@pike.org>
* Update README.md
Co-authored-by: Axel Hecht <axel@pike.org>
2020-12-10 11:49:37 -05:00
dependabot[bot]
32f0bf9596
Bump @types/node from 14.14.11 to 14.14.12 ( #538 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.11 to 14.14.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-10 11:34:18 -05:00
dependabot[bot]
dac7fd7a1f
Bump @types/jest from 26.0.17 to 26.0.18 ( #534 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.17 to 26.0.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-09 10:21:28 -05:00
dependabot[bot]
777d5f4ced
Bump @types/node from 14.14.10 to 14.14.11 ( #533 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.10 to 14.14.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-09 10:01:31 -05:00
dependabot[bot]
6e72a77376
Bump @types/jest from 26.0.16 to 26.0.17 ( #527 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.16 to 26.0.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 10:46:08 -05:00
Axel Hecht
951989533a
Add DRY_RUN option, passing --dry-run to git push. ( #526 )
...
See #499 for the proposal.
2020-12-08 10:14:59 -05:00
James Ives
20031f1e7f
Merge branch 'dev' into dev-v4
2020-12-07 10:13:51 -05:00
dependabot[bot]
afba92118c
Bump eslint from 7.14.0 to 7.15.0 ( #522 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.14.0 to 7.15.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.14.0...v7.15.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 10:12:39 -05:00
Axel Hecht
c4d24de7a0
Set up eslint for test files. ( #517 )
2020-12-07 10:12:15 -05:00
Axel Hecht
560e416032
Stop checking out workspace ( #515 )
...
* Stop checking out base branch before deployment, drop option.
* Don't check out default branch, as we don't check out base branch, drop option.
* Don't stash/unstash as we don't update the workdir, drop preserve option.
* Don't init the workspace
* Only fetch the remote branch if it exists, only with depth 1.
* Rely on previous checkouts to have handled lfs files correctly, drop option.
* Update README, action.yml, integration tests
2020-12-07 10:11:58 -05:00
dependabot[bot]
0c3b985472
Bump eslint-plugin-prettier from 3.1.4 to 3.2.0 ( #521 )
...
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) from 3.1.4 to 3.2.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.4...v3.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-04 09:24:18 -05:00
dependabot[bot]
49e6c87c22
Bump @types/jest from 26.0.15 to 26.0.16 ( #518 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.15 to 26.0.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-04 09:24:08 -05:00
dependabot[bot]
e61ae3f29d
Bump prettier from 2.2.0 to 2.2.1 ( #514 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.2.0...2.2.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-01 09:16:38 -05:00
dependabot[bot]
c0853434e6
Bump @types/node from 14.14.9 to 14.14.10 ( #512 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.9 to 14.14.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-01 09:11:29 -05:00
dependabot[bot]
a57cc6f78e
Bump eslint from 7.13.0 to 7.14.0 ( #511 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.13.0 to 7.14.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.13.0...v7.14.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-24 09:15:14 -05:00
dependabot[bot]
9c486ae99e
Bump prettier from 2.1.2 to 2.2.0 ( #510 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-23 10:12:20 -05:00
dependabot[bot]
4ddfc61876
Bump @types/node from 14.14.8 to 14.14.9 ( #509 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.8 to 14.14.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-23 10:12:08 -05:00
James Ives
88c55fa17b
Update CONTRIBUTING.md
2020-11-18 07:30:52 -05:00
dependabot[bot]
28a840006b
Bump @types/node from 14.14.6 to 14.14.8 ( #504 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.6 to 14.14.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-18 07:16:52 -05:00
dependabot[bot]
3413db1671
Bump eslint-plugin-jest from 24.1.0 to 24.1.3 ( #498 )
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 24.1.0 to 24.1.3.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.1.0...v24.1.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-17 23:17:53 -05:00
James Ives
d91bc43f92
Fixes int tests
2020-11-17 15:36:57 -05:00
James Ives
ce17a21cd5
Setup node workflows
2020-11-17 11:57:42 -05:00
James Ives
e774cc50ed
Update README.md
2020-11-17 01:02:46 -05:00
James Ives
d9215d10f8
Update integration-beta.yml
2020-11-17 00:43:25 -05:00
James Ives
881130db25
Update integration.yml
2020-11-17 00:43:03 -05:00
dependabot[bot]
a9f8d8d2be
Bump eslint from 7.12.1 to 7.13.0 ( #495 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.12.1 to 7.13.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.12.1...v7.13.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-17 00:27:08 -05:00
dependabot[bot]
3386e45055
Bump jest-circus from 26.6.2 to 26.6.3 ( #492 )
...
Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus ) from 26.6.2 to 26.6.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v26.6.3/packages/jest-circus )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 09:40:12 -05:00
dependabot[bot]
2d4bf7e0ea
Bump jest-circus from 26.6.1 to 26.6.2 ( #491 )
...
Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus ) from 26.6.1 to 26.6.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v26.6.2/packages/jest-circus )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 00:29:36 -05:00
dependabot[bot]
c09ffd0412
Bump @types/node from 14.14.5 to 14.14.6 ( #487 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.5 to 14.14.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-31 10:52:20 -04:00
dependabot[bot]
710137dc6b
Bump @types/node from 14.14.0 to 14.14.5 ( #486 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.0 to 14.14.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 11:08:13 -04:00
dependabot[bot]
d5761ca766
Bump eslint from 7.11.0 to 7.12.1 ( #485 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.11.0 to 7.12.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.11.0...v7.12.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 10:25:19 -04:00
dependabot[bot]
f9ca9267b5
Bump jest-circus from 26.6.0 to 26.6.1 ( #482 )
...
Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus ) from 26.6.0 to 26.6.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v26.6.1/packages/jest-circus )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 10:25:06 -04:00
dependabot[bot]
76ee88b3c5
Bump @types/jest from 26.0.14 to 26.0.15 ( #478 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.14 to 26.0.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 10:26:33 -04:00
dependabot[bot]
46a1a23c0b
Bump jest-circus from 26.5.3 to 26.6.0 ( #479 )
...
Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus ) from 26.5.3 to 26.6.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v26.6.0/packages/jest-circus )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-21 10:32:09 -04:00
dependabot[bot]
903ae77c1c
Bump @types/node from 14.11.8 to 14.14.0 ( #480 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.11.8 to 14.14.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-21 10:10:59 -04:00
James Ives
1a5f3fc2aa
3.7.1 Doc
2020-10-17 16:12:03 -04:00
James Ives
9ae8696e23
3.7.1 Doc
2020-10-17 16:11:29 -04:00
James Ives
14e91a4c55
Release 3.7.1 📣
2020-10-17 20:06:48 +00:00
James Ives
a112c0ea8a
Update package.json
2020-10-17 16:06:05 -04:00
James Ives
fa5589dbb2
Merge branch 'dev' of https://github.com/JamesIves/github-pages-deploy-action into dev
2020-10-17 14:00:14 -04:00
James Ives
77c39bbee9
Minor Spacing Errors
2020-10-17 12:35:48 -04:00