This repository has been archived by the owner on Feb 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1fd6fa
commit de496b8
Showing
3 changed files
with
27 additions
and
55 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
name: Test and Release | ||
|
||
on: push | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install latest npm | ||
run: sudo npm install -g npm@ | ||
- name: Install dependencies | ||
run: npm ci --no-audit | ||
- name: Test | ||
run: npm test | ||
- name: relase | ||
continue-on-error: true | ||
env: | ||
GK_LOCK_DEFAULT_BRANCH: saga | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_USERNAME: ${{ secrets.GH_USERNAME }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: | | ||
npm i --no-save semantic-release@next | ||
npx semantic-release |
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