forked from SafetyCulture/joi-timezone
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
5.0.0 - Modernise dependencies (#25)
* Modernise dependencies * Switch to CircleCI * Update readme badges * Simplify coverage scripts * Explicitly install Joi for coverage
- Loading branch information
Showing
12 changed files
with
8,339 additions
and
8,021 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,37 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
node: circleci/node@5.2 | ||
coveralls: coveralls/coveralls@2.2.1 | ||
|
||
jobs: | ||
coverage: | ||
executor: | ||
name: node/default | ||
tag: 'lts' | ||
steps: | ||
- checkout | ||
- node/install-packages: | ||
check-cache: always | ||
pkg-manager: yarn-berry | ||
with-cache: false | ||
- run: | ||
command: npm install joi | ||
name: Install Joi | ||
- run: | ||
command: npm run coverage | ||
name: Run Coverage | ||
- coveralls/upload: | ||
coverage_file: ./coverage/lcov.info | ||
|
||
workflows: | ||
test: | ||
jobs: | ||
- node/test: | ||
version: 'lts' | ||
pkg-manager: npm | ||
- node/run: | ||
npm-run: lint | ||
version: 'lts' | ||
pkg-manager: npm | ||
- coverage |
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,11 @@ | ||
env: | ||
jest: true | ||
browser: true | ||
commonjs: true | ||
es2021: true | ||
node: true | ||
extends: | ||
- standard | ||
parserOptions: | ||
ecmaVersion: latest | ||
rules: {} |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
joi: | ||
versions: ">=16.1.8" | ||
commands: NODE_ENV=test mocha --recursive | ||
commands: jest |
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
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.