All Projects → MeilCli → npm-update-check-action

MeilCli / npm-update-check-action

Licence: MIT License
npm new package version check action for GitHub Actions.

Programming Languages

typescript
32286 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to npm-update-check-action

build-godot-action
GitHub action that builds a Godot project for multiple platforms
Stars: ✭ 62 (+264.71%)
Mutual labels:  actions, github-actions
deno-action
Github action for setup Deno
Stars: ✭ 24 (+41.18%)
Mutual labels:  actions, github-actions
gha
🔧 Test your GitHub Actions workflow locally.
Stars: ✭ 53 (+211.76%)
Mutual labels:  actions, github-actions
actions-sms
Send an SMS through GitHub Actions
Stars: ✭ 108 (+535.29%)
Mutual labels:  actions, github-actions
qodana-action
⚙️ Scan your Java, Kotlin, PHP, Python, JavaScript, TypeScript projects at GitHub with Qodana
Stars: ✭ 112 (+558.82%)
Mutual labels:  actions, github-actions
action-label-syncer
GitHub Action to sync GitHub labels in the declarative way
Stars: ✭ 138 (+711.76%)
Mutual labels:  actions, github-actions
Android-CICD
This repo demonstrates how to work on CI/CD for Mobile Apps 📱 using Github Actions 💊 + Firebase Distribution 🎉
Stars: ✭ 37 (+117.65%)
Mutual labels:  actions, github-actions
release-helper
🤖 A GitHub Action that help you publish release.
Stars: ✭ 27 (+58.82%)
Mutual labels:  actions, github-actions
ghaction-upx
GitHub Action for UPX, the Ultimate Packer for eXecutables
Stars: ✭ 27 (+58.82%)
Mutual labels:  actions, github-actions
ghaction-import-gpg
GitHub Action to easily import a GPG key
Stars: ✭ 161 (+847.06%)
Mutual labels:  actions, github-actions
action-python-poetry
Template repo to quickly make a tested and documented GitHub action in Python with Poetry
Stars: ✭ 85 (+400%)
Mutual labels:  actions, github-actions
bridgecrew-action
This Github Action runs Bridgecrew against an Infrastructure-as-Code repository. Bridgecrew performs static security analysis of Terraform & CloudFormation Infrastructure code.
Stars: ✭ 52 (+205.88%)
Mutual labels:  actions, github-actions
changelog-reader-action
A GitHub action to read and get data from the CHANGELOG.md file 🚀
Stars: ✭ 68 (+300%)
Mutual labels:  actions, github-actions
actions-pixela
GitHub Actions for Pixela (a-know/pi) - a-know/pi Setup Action. Linux (Ubuntu), macOS, and Windows are supported.
Stars: ✭ 12 (-29.41%)
Mutual labels:  actions, github-actions
gradle-actions
Github Actions for Gradle
Stars: ✭ 29 (+70.59%)
Mutual labels:  actions, github-actions
overview
Automate your workflows with GitHub actions for MATLAB.
Stars: ✭ 40 (+135.29%)
Mutual labels:  actions, github-actions
action-junit-report
Reports junit test results as GitHub Pull Request Check
Stars: ✭ 103 (+505.88%)
Mutual labels:  actions, github-actions
jacoco-report
Github action that publishes the JaCoCo report as a comment in the Pull Request
Stars: ✭ 31 (+82.35%)
Mutual labels:  actions, github-actions
action-autotag
Automatically generate a new tag when the manifest file (package.json, Dockerfile, custom file, etc) version changes.
Stars: ✭ 45 (+164.71%)
Mutual labels:  actions, github-actions
action-sync-node-meta
GitHub Action that syncs package.json with the repository metadata.
Stars: ✭ 25 (+47.06%)
Mutual labels:  actions, github-actions

npm-update-check-action


npm new package version check action for GitHub Actions.

Required

This action must execute after npm install for your dependencies.

Example

Slack notification example, using 8398a7/action-slack:

name: Check Package

on: 
  schedule:
    - cron: '0 8 * * 5' # every friday AM 8:00
jobs:
  npm:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - run: npm install
    - uses: MeilCli/npm-update-check-action@v4
      id: outdated
    - uses: 8398a7/action-slack@v2
      if: steps.outdated.outputs.has_npm_update != 'false'
      with:
        status: ${{ job.status }}
        text: ${{ steps.outdated.outputs.npm_update_text }}
        author_name: GitHub Actions
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

You can also pin to a specific release version in the format @v4.x.x

input

  • execute_directories
    • optional
    • execute directories of npm outdated command
    • if multiple directories, write multiline
  • depth
    • optional
    • max depth for checking dependency tree
  • output_text_style
    • optional
    • output text style
    • value: short or long, default: short

output

  • has_npm_update
    • has new package version information
    • value: true or false
  • npm_update_text
    • new package version information text, styled by output_text_style
  • npm_update_json
    • new package version information json

Contributing

see Contributing.md

License

MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].