Add verify bundle workflow and package-lock

Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
Tim Etchells 2020-11-19 13:44:17 -05:00
parent d26694b47f
commit 2f1cc9082b
3 changed files with 180 additions and 4 deletions

18
.github/workflows/verify-bundle.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Verify Bundle
on: [ push, pull_request ]
jobs:
verify-bundle:
name: Verify Distribution Bundle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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"