-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: require node engine > 12.4.0
- Loading branch information
1 parent
db0c6ce
commit 44fc26c
Showing
18 changed files
with
3,400 additions
and
2,094 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,47 @@ | ||
name: Continuous Integration | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- dryrun-* | ||
pull_request: | ||
branches: | ||
- '*' | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
|
||
- name: Validate commit messages | ||
if: ${{ github.ref != 'refs/heads/master' }} | ||
uses: wagoid/commitlint-github-action@v3 | ||
|
||
- name: Use Node.js 12.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
|
||
- name: Install packages & build & run tests | ||
run: | | ||
npm ci | ||
npm test | ||
- name: Compile typescript | ||
run: npm run build | ||
|
||
- name: Semantic Release | ||
id: semantic_release | ||
if: ${{ github.ref == 'refs/heads/master' }} | ||
uses: cycjimmy/semantic-release-action@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SAGA_GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
with: | ||
semantic_version: 17 | ||
extra_plugins: | | ||
@semantic-release/changelog | ||
@semantic-release/git |
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
Oops, something went wrong.