Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 1.61 KB

README.md

File metadata and controls

58 lines (44 loc) · 1.61 KB

report-updated-dependencies status

Report updated dependencies

This Github Actions runs on changes to PR requests to detect and report changes made to dependencies. Dependency lookups, change detections and fetching of release notes are all done by Renovate Bot

name: 'build-test'
on:
  pull_request:

jobs:
  report-updated-dependencies:
    runs-on: ubuntu-latest
    steps:
      - uses: AurorNZ/report-updated-dependencies@v1

or run conditionally

name: 'build-test'
on: # rebuild any PRs and main branch changes
  pull_request:
  push:
    branches:
      - main
      - 'releases/*'

jobs:
  report-updated-dependencies:
    if: ${{ github.event_name == 'pull_request' }}
    runs-on: ubuntu-latest
    steps:
      - uses: AurorNZ/report-updated-dependencies@v1

Publish to a distribution branch

Actions are run from GitHub repos so we will checkin the packed dist folder.

Then run ncc and push the results:

$ npm run package
$ git add dist
$ git commit -a -m "prod dependencies"
$ git push origin releases/v1

Note: We recommend using the --license option for ncc, which will create a license file for all of the production node modules used in your project.

Your action is now published! 🚀

See the versioning documentation