This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update lock fix: ignore packages fix: fix deps and add lock fix: fix deps 2 fix: ignore packages 2 fix: add mocha reporter to karma fix: remove unused cmd chore: update lock feat: add gitattributes feat: test attributes feat: test attributes 2 fix: fix stderr match fix: fix more files line endings fix: fix line ending chore: remove lock chore: fix win test run chore: ignore lock chore: change to yarn chore: fix cov chore: fix cov
- Loading branch information
1 parent
ce4ff3e
commit b9eb997
Showing
5 changed files
with
140 additions
and
2 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
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 @@ | ||
* text=auto | ||
test/** text eol=lf | ||
src/init-files/** text eol=lf |
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,99 @@ | ||
image: hugomrdias/node-alpine:test | ||
stages: | ||
- check | ||
- test | ||
- cov | ||
- pre-release | ||
- release | ||
|
||
variables: | ||
DOCKER_DRIVER: overlay2 | ||
|
||
before_script: | ||
- yarn | ||
|
||
check: | ||
stage: check | ||
script: | ||
- yarn lint | ||
- yarn dep-check | ||
# - npm install --no-lockfile @commitlint/config-conventional @commitlint/cli --save-dev | ||
# - npx commitlint --extends=@commitlint/config-conventional --from=$CI_COMMIT_BEFORE_SHA --to=$CI_COMMIT_SHA | ||
- yarn build | ||
artifacts: | ||
paths: | ||
- dist/ | ||
|
||
linux-node-10: | ||
image: node:10 | ||
stage: test | ||
script: | ||
- npx nyc -s npm run test:node -- --bail | ||
artifacts: | ||
paths: | ||
- .nyc_output/ | ||
|
||
linux-node-11: | ||
allow_failure: true | ||
image: node:11 | ||
stage: test | ||
script: | ||
- npx nyc -s npm run test:node -- --bail | ||
artifacts: | ||
paths: | ||
- .nyc_output/ | ||
|
||
macos-node-10: | ||
stage: test | ||
script: | ||
- npx nyc -s npm run test:node -- --bail | ||
tags: | ||
- mac | ||
artifacts: | ||
paths: | ||
- .nyc_output/ | ||
|
||
win-node-10: | ||
stage: test | ||
script: | ||
- npx nyc -s npm run test:node -- --bail | ||
tags: | ||
- win | ||
artifacts: | ||
paths: | ||
- .nyc_output/ | ||
|
||
test-browser-chrome: | ||
image: hugomrdias/node-chrome:test | ||
stage: test | ||
script: | ||
- AEGIR_BROWSERS=ChromeDocker yarn test:browser | ||
artifacts: | ||
paths: | ||
- coverage/ | ||
|
||
test-browser-firefox: | ||
allow_failure: true | ||
image: hugomrdias/node-firefox:test | ||
stage: test | ||
script: | ||
- AEGIR_BROWSERS=FirefoxHeadless yarn test:browser | ||
artifacts: | ||
paths: | ||
- coverage/ | ||
|
||
cov: | ||
stage: cov | ||
before_script: [] | ||
script: | ||
- cp coverage/coverage-final.json .nyc_output/browser.json | ||
- npx nyc report --reporter text-summary --reporter html | ||
dependencies: | ||
- linux-node-10 | ||
- win-node-10 | ||
- macos-node-10 | ||
- test-browser-chrome | ||
artifacts: | ||
paths: | ||
- coverage/ | ||
coverage: '/Lines : \d+\.\d+/' |
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