Skip to content
Permalink
54b504899d
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
View runs Go to file
 
 
Cannot retrieve contributors at this time
33 lines (29 sloc) 878 Bytes
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