Skip to content

Commit

Permalink
Create checkPackageVersions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ManiMatter authored Apr 16, 2024
1 parent cc0f910 commit 8c6de88
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/checkPackageVersions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Check Package Versions

on:
workflow_dispatch:

jobs:
execute-script:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: npm install @octokit/rest rxjs @octokit/plugin-rest-endpoint-methods

- name: Run script
run: node path/to/your/script.js ${{ secrets.GITHUB_TOKEN }} ${{ github.event.inputs.package-name }} ${{ github.event.inputs.package-type }}
env:
GITHUB_API_URL: 'https://api.github.com'

0 comments on commit 8c6de88

Please sign in to comment.