Commit Graph

19 Commits

Author SHA1 Message Date
Axel Hecht
291c5c792e
Hyphenate inputs and outputs, add step output, fix #558 (#559)
* Hyphenate inputs and outputs, add step output, fix #558

I've also tried to make the clean docs a bit clearer, and consistent
about clean being on my default. Still not totally happy with the intro
of the docs there, though.

* Add testing of step outputs to build integration tests
2021-01-05 10:39:10 -05:00
James Ives
d8c795395d
Lowercase Inputs (#547)
* Lowercases inputs

* Adjusts workflow tests and deployment_status
2020-12-15 18:32:06 -05:00
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
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
ce17a21cd5 Setup node workflows 2020-11-17 11:57:42 -05:00
James Ives
8182653089 Update build.yml 2020-05-16 18:26:05 -04:00
James Ives
f1da4c7be1 Migrates to using yarn over npm 2020-05-16 18:19:08 -04:00
James Ives
0d44bd0c4b
Update build.yml 2020-03-09 08:51:05 -04:00
JamesIves
6ea2897e5b Workflow Changes 2020-02-22 09:36:41 -05:00
JamesIves
389e484d6d Mo 2020-02-22 09:23:41 -05:00
James Ives
a4abd1d79f
Update build.yml 2020-01-19 13:48:11 -05:00
James Ives
43ed8d1518
Integration Test Improvements (#116)
* Integration Test Improvements

* Formatting

* Update build.yml

* Change

* Update build.yml

* Update integration.yml

* More changes

* More more changes
2020-01-11 19:13:04 -05:00
James Ives
08316f5f4c
Test PR (#59)
* Update README.md

* test setup

* Update build.yml
2019-11-20 09:13:01 -05:00
James Ives
69928fe0f1 Update build.yml 2019-11-20 09:02:22 -05:00
James Ives
dc364d11f0 Unit Tests 2019-11-20 09:01:31 -05:00
James Ives
7a57806e8c
Update build.yml 2019-11-19 10:11:01 -05:00
James Ives
9dfdc4cb0c
Deployment Name 2019-11-19 10:09:17 -05:00
James Ives
1d5fd60054
Update build.yml 2019-11-19 10:07:53 -05:00
James Ives
4b2f84d384
Version 3 (#44)
* Version 3 Beta

* README Updates

* More readme updates

* lock

* Restoring license/contrib

* One set of tests

* linting

* More tests

* Finish up unit tests

* Update action.yml

* Update main.yml

* Update README.md

* Update README.md

* README Changes

* Update README.md

* Unit testing job

* Some more stuff

* More cleanup

* Update README.md

* Unrequired

* Update CONTRIBUTING.md

* no guess

* Using Git Switch as opposed to checkout

* Force Commit

* Remove git

* Some more simplification

* Update git.ts

* changes

* Options

* w

* Debugging

* More debugging

* More debugging

* Debugging

* Debugging

* Debugging

* Debugging

* Debugging

* Debugging

* Debugging

* Debugging

* Debugging

* Debugging

* Debugging

* Debugging

* Debugging

* Debug

* Debugging

* Another 1

* Update git.ts

* Fixes root deployment

* Quiet Mode

* Quiet

* Excluding .github

* Update README.md
2019-11-19 10:06:27 -05:00