Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate to github-actions from travis-ci
- Loading branch information
1 parent
5ee7424
commit 88cfb43
Showing
2 changed files
with
19,309 additions
and
55 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Test and Release (on master) | ||
on: push | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- run: npm ci --frozen-lockfile | ||
- run: npm test | ||
release: | ||
runs-on: ubuntu-latest | ||
needs: test | ||
if: github.ref == 'refs/heads/master' | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Release @cypress/commit-info | ||
run: npm run semantic-release -- --dry-run |
Oops, something went wrong.