* delete package versions action v1 * updated action for build and smoke test * test and error message update * test fix * ci testing * ci testing * ci testing * ci testing * ci test * ci testing * ci test name * docs * docs * docs * test * test * test * docs * usage doc * doc * docs * format test * doc update * doc test * formatting check * scenario update * usage update * format * test * test * test * test * test * table test * test * format update * links * test * test * test * test * test * docs update * test * formatting * fix broken links * doc update * test * table test * test * test * test * test * test * test * test * test * test * test * doc test * test * test * test * test * test * test * test t * test * test * test * test * test * test * docs * doc update * test * added branding * added branding
33 lines
874 B
YAML
33 lines
874 B
YAML
name: Package and Smoke Test
|
|
|
|
on: # rebuild any PRs and main branch changes
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
- 'releases/*'
|
|
|
|
jobs:
|
|
|
|
package: # make sure build/ci work properly
|
|
name: Package
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
name: Checkout Delete Package Versions Repo
|
|
- run: npm install
|
|
name: NPM Install
|
|
- run: npm run pack
|
|
name: Check Format, Lint, Run Unit Tests, Build and Package
|
|
|
|
smoke-test: # make sure the action works on a clean machine without building
|
|
name: Smoke Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
name: Checkout Delete Package Versions Repo
|
|
- uses: ./
|
|
name: Smoke Test Delete Package Versions Action
|
|
with:
|
|
package-name: 'com.github.actions.test-package'
|
|
num-old-versions-to-delete: 0 |