This repository has been archived by the owner on Mar 9, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Develop
- Loading branch information
Showing
5 changed files
with
3,043 additions
and
255 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,3 @@ | ||
{ | ||
"extends": "@kocal/semantic-release-preset" | ||
} |
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 |
---|---|---|
@@ -1,18 +1,37 @@ | ||
sudo: false | ||
dist: trusty | ||
dist: bionic | ||
|
||
language: node_js | ||
node_js: | ||
node_js: | ||
- lts/* | ||
- node | ||
|
||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ | ||
|
||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules | ||
- ~/.npm | ||
- ~/.cache | ||
|
||
stages: | ||
- test | ||
- deploy | ||
|
||
before_install: | ||
- curl -o- -L https://yarnpkg.com/install.sh | bash | ||
- export PATH="$HOME/.yarn/bin:$PATH" | ||
# - yarn global add codecov | ||
install: | ||
- yarn install --frozen-lockfile | ||
|
||
script: | ||
- yarn lint | ||
- yarn docs:build | ||
# - yarn test && codecov | ||
|
||
jobs: | ||
include: | ||
- if: branch = master AND type = push | ||
stage: deploy | ||
name: Deploy | ||
node_js: node | ||
script: | ||
- yarn 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
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.