Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aholachek/github-actions-examples
Tiny test repo for github actions
https://github.com/aholachek/github-actions-examples
Last synced: about 1 month ago
JSON representation
Tiny test repo for github actions
- Host: GitHub
- URL: https://github.com/aholachek/github-actions-examples
- Owner: aholachek
- Created: 2019-11-21T14:53:19.000Z (about 5 years ago)
- Default Branch: edge
- Last Pushed: 2023-01-05T01:29:41.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T05:48:08.498Z (2 months ago)
- Language: HTML
- Homepage:
- Size: 1.84 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Workflows that are currently work(flow)ing
1. Run tests for prs & cache `node_modules` between builds
2. Backmerge `edge` and `staging` branches after successful merge to `master`
3. Automate release bump in any prs made to master based on the title of the pr (e.g. `0.5.3-release` will run `npm version 0.5.3`.
4. Publish to github packages on merge to master.## How to test
1. Fork repo
2. Checkout staging locally and commit some changes
3. Make a pr from staging ==> master on github
4. In github interface for the PR, rename commit to something like [MASTER RELEASE] or [MINOR RELEASE] (the default release on merge will be a patch otherwise):
5. You should see a release version commit added to the list of commits for the pr.
6. Once the tests pass, merge the pr into master
7. Navigate to the workflow actions tag to see the release + backmerge into staging and edge in progress.
8. Confirm that edge, staging and master all have the new release commmit.## Helpful resources
1. [action to run node script](https://github.com/actions/setup-node)
2. [action to push branch back to repo](https://github.com/ad-m/github-push-action)
3. [caching](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/caching-dependencies-to-speed-up-workflows#using-the-cache-action)
4. [caching examples](https://github.com/actions/cache/blob/master/examples.md#node---yarn)
5. [workflow triggers](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)