Permalink
Cannot retrieve contributors at this time
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?
delete-package-versions/.github/workflows/test.yml
View runs Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
33 lines (29 sloc)
872 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package and Smoke Test | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
push: | |
branches: | |
- main | |
- '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 |