Product Promotion
0x5a.live
for different kinds of informations and explorations.
GitHub - fast-facts/ng-update: A Github @actions that keeps your @angular CLI-based projects up-to-date via automated PRs based on `ng update`.
A Github @actions that keeps your @angular CLI-based projects up-to-date via automated PRs based on `ng update`. - fast-facts/ng-update
Visit SiteGitHub - fast-facts/ng-update: A Github @actions that keeps your @angular CLI-based projects up-to-date via automated PRs based on `ng update`.
A Github @actions that keeps your @angular CLI-based projects up-to-date via automated PRs based on `ng update`. - fast-facts/ng-update
Powered by 0x5a.live 💗
ng-update
A Github Action that keeps your Angular CLI-based projects up-to-date via automated pull requests.
The action automatically runs ng update
for you, updates @angular related dependencies and files, and creates/updates a PR with the changes.
You just have to merge the created PR back into your codebase, once ready.
Usage
To get started, create a workflow under .github/workflows/
folder (eg: .github/workflows/ng-update.yml
), with the following content:
name: "Update Angular Action"
on: # when the action should run. Can also be a CRON or in response to external events. see https://git.io/JeBz1
push
jobs:
ngxUptodate:
runs-on: ubuntu-latest
steps:
- name: Updating ng dependencies # the magic happens here !
uses: fast-facts/ng-update@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
See action.yml for complete list of options you can customize. See Creating a Workflow file for more informations about writing workflows.
Outputs
When the action successfully runs, it produces the following outputs, that you can use them in further steps in your workflow:
pr-number
: the number of the PR that have been created on Githubng-update-result
: an array of PackageToUpdate, that summarizes the packages that have been updated.
Angular Resources
are all listed below.
Made with ❤️
to provide different kinds of informations and resources.