mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-04-30 02:19:55 +02:00
Add verify bundle action and make inputs 'required'
Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
parent
05f033c95a
commit
61095317bf
8 changed files with 86 additions and 18 deletions
22
.github/workflows/verify-bundle.yml
vendored
Normal file
22
.github/workflows/verify-bundle.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: Verify Bundle
|
||||
on: [ push, pull_request ]
|
||||
|
||||
jobs:
|
||||
verify-bundle:
|
||||
name: Verify Distribution Bundle
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
env:
|
||||
DEFAULT_BRANCH: main
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Check Distribution
|
||||
uses: tetchel/bundle-verifier-action@v0.0.2
|
||||
with:
|
||||
bundle_file: dist/index.js
|
||||
bundle_command: "npm run bundle"
|
Loading…
Add table
Add a link
Reference in a new issue