Files
delete-package-versions/.github/workflows/test.yml
Trent Jones 297ae5fc8b ci testing
2020-02-29 14:09:16 -06:00

31 lines
758 B
YAML

name: Build 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
- run: npm install
name: NPM Install
- run: npm run pack
name: Format Check, Lint, 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
- uses: ./
name: actions/delete-package-versions
with:
package-name: 'com.github.actions.test-package'
num-old-versions-to-delete: 0