Repository navigation
Replace Jenkins CI/CD with GitHub Actions CI/CD + Modernizations - #94
Merged
Merged
Conversation
From [GitHub Packages](https://docs.github.com/en/packages/quickstart), initial iteration towards smithmicro#93. Additionally: - Up-to-date `.github/` assets for repo - `.github/PULL_REQUEST_TEMPLATE` stolen from https://github.com/cortinico/kotlin-android-template/blob/main/.github/PULL_REQUEST_TEMPLATE - `.github/ISSUE_TEMPLATE/feature_request.md` stolen from https://github.com/cortinico/kotlin-android-template/blob/main/.github/ISSUE_TEMPLATE/feature_request.md - `.github/ISSUE_TEMPLATE/bug_report.md` stolen from https://github.com/cortinico/kotlin-android-template/blob/main/.github/ISSUE_TEMPLATE/bug_report.md - `.github/CODEOWNERS` file with repo creator - Remove `Jenkinsfile` and `.travis.yml` CI/CD configs
Additionally: - Auto-commit pre-release `package.json` updates in "Publish Pre-Release" workflow - Comment-out time-consuming install/build/lint steps for faster iterations - Add `contents:write` permission for `publish-prerelease` GHA - Add `npm run docs` to GitHub Actions CI/CD - Try `Co-authored-by: <actor>` for GitHub Actions commit, https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors#creating-co-authored-commits-on-the-command-line
- Fetch all tags and history on release - Moar badge 🏷️ and prettier names 📝
- Add Browserify from old `Jenkinsfile` CI/CD 🤖 - Publish publicly per https://docs.npmjs.com/creating-and-publishing-scoped-public-packages
- `github.com/mblomdahl` fork -> `github.com/smithmicro` upstream - `issue-93-gh-actions` feature branch -> default branch `master` - Only run "Publish Release" and "Publish Pre-Release" workflows on main repo
- Use `persist-credentials: false`, "... otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token" (from https://github.com/ad-m/github-push-action#readme) - Always fetch latest `default` branch before publishing pre-release
- Add debug step for event properties - Only publish pre-release on main repo, pull request builds should not trigger publishing
mblomdahl
added a commit
to mblomdahl/mapbox-gl-circle
that referenced
this pull request
Oct 23, 2022
After merging smithmicro#94, we find that GitHub Packages \[GHP\], does not accept publishing of un-scoped packages. Instead of giving up on GHP entirely, let's publish this under two different names: 1. On NPM, as always, it's the `mapbox-gl-circle` package 2. On GHP, it's the same code as on NPM but published as the "`@smithmicro/mapbox-gl-circle`" package
mblomdahl
added a commit
to mblomdahl/mapbox-gl-circle
that referenced
this pull request
Oct 23, 2022
After merging smithmicro#94, we find that GitHub Packages \[GHP\], does not accept publishing of un-scoped packages. Instead of giving up on GHP entirely, let's publish this under two different names: 1. On NPM, as always, it's the `mapbox-gl-circle` package 2. On GHP, it's the same code as on NPM but published as the "`@smithmicro/mapbox-gl-circle`" package
2 of 6 tasks
mblomdahl
added a commit
that referenced
this pull request
Oct 23, 2022
After merging #94, we find that GitHub Packages \[GHP\], does not accept publishing of un-scoped packages. Instead of giving up on GHP entirely, let's publish this under two different names: 1. On NPM, as always, it's the `mapbox-gl-circle` package 2. On GHP, it's the same code as on NPM but published as the "`@smithmicro/mapbox-gl-circle`" package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a series of modernizations to the Mapbox GL Circle project, after 5 years unmaintained.
On a high level:
Item number 1 closes #93 (inspired by a recent review of PR #86), item number 2 is just copy-paste of some recent work on my GitHub Template
web-template-react, and item number 3 is just from playing around with new features. 🙃Ping @gleite-smsi & @gabrielcampos & @dsperling & @carlba & @akebrissman FYI!