Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

chore(deps-dev): bump eslint-plugin-mocha from 9.0.0 to 10.0.4 #179

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
e064905
chore(deps-dev): bump eslint from 6.8.0 to 7.0.0 (#142)
dependabot-preview[bot] May 26, 2020
ee37186
docs: remove greenkeeper badge
cecilia-sanare May 26, 2020
84f3f46
chore(deps-dev): bump eslint-plugin-mocha from 6.3.0 to 7.0.1 (#143)
dependabot-preview[bot] Jun 1, 2020
142d2cc
chore(deps-dev): bump mocha from 7.2.0 to 8.0.1 (#144)
dependabot-preview[bot] Jun 15, 2020
16442da
chore(deps-dev): bump eslint-plugin-mocha from 7.0.1 to 8.0.0 (#145)
dependabot-preview[bot] Aug 10, 2020
350df50
chore(deps-dev): bump husky from 4.3.8 to 5.0.9 (#146)
dependabot-preview[bot] Feb 15, 2021
af0b277
chore(deps-dev): bump sinon from 9.2.4 to 10.0.0 (#147)
dependabot-preview[bot] Mar 29, 2021
6ff16a1
chore(deps-dev): bump husky from 5.2.0 to 6.0.0 (#148)
dependabot-preview[bot] Mar 29, 2021
231d3e8
chore(deps-dev): bump sinon from 10.0.1 to 11.1.1 (#150)
dependabot-preview[bot] May 31, 2021
7639383
chore(deps-dev): bump mocha from 8.4.0 to 9.0.1 (#153)
dependabot-preview[bot] Jun 21, 2021
6b46c6e
chore(deps-dev): bump eslint-plugin-mocha from 8.2.0 to 9.0.0 (#151)
dependabot-preview[bot] Jun 21, 2021
71f2b5e
Upgrade to GitHub-native Dependabot (#149)
dependabot-preview[bot] Jun 28, 2021
e0da419
fix: migrate to github actions
cecilia-sanare Jul 1, 2021
8db9421
docs: update README
cecilia-sanare Jul 1, 2021
9decf73
chore: updated husky
cecilia-sanare Jul 1, 2021
25fd439
chore: update references of master to main
cecilia-sanare Jul 5, 2021
0382139
chore: added semantic-release config
cecilia-sanare Jul 5, 2021
ba6d5d8
Merge pull request #20 from arxstudios/18-travis-ci-support
dependabot[bot] May 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .dependabot/config.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
time: "11:00"
open-pull-requests-limit: 10
96 changes: 96 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
install:
name: Install
runs-on: ubuntu-18.04

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14
- name: Cache node modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-node--${{ hashFiles('package.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
run: npm i


validate:
name: Validate - Node v${{ matrix.node }}
runs-on: ubuntu-18.04
needs: install
strategy:
matrix:
node: [ 10, 11, 12, 14 ]

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Restore node modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-node--${{ hashFiles('package.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Linting
run: npm start lint
- name: Run Tests
run: npm start test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

release:
name: Release
runs-on: ubuntu-18.04
needs: [validate]
if: github.ref == 'refs/heads/main'

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14
- name: Restore node modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-node--${{ hashFiles('package.json') }}
restore-keys: |
${{ runner.os }}-node-
# Release the Codes!!
- name: Release!
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm start semantic-release
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx remove-lockfiles
1 change: 1 addition & 0 deletions .releaserc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
branches: main
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

15 changes: 4 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

[![NPM Version][npm-version-image]][npm-url]
[![NPM Downloads][npm-downloads-image]][npm-url]
[![Travis][travis-ci-image]][travis-ci-url]
[![CI Build][github-actions-image]][github-actions-url]
[![Coveralls][coveralls-image]][coveralls-url]

[![semantic-release][semantic-release-image]][semantic-release-url]
[![Greenkeeper badge][greenkeeper-image]][greenkeeper-url]

A simple tool for parsing JavaScript objects to avoid repetition.

Expand Down Expand Up @@ -133,17 +132,11 @@ THE SOFTWARE.
[npm-downloads-image]: http://img.shields.io/npm/dm/dry-parser.svg?style=flat
[npm-url]: https://npmjs.org/package/dry-parser

[travis-ci-image]: https://img.shields.io/travis/com/salte-io/dry-parser.svg?style=flat
[travis-ci-url]: https://travis-ci.com/salte-io/dry-parser
[github-actions-image]: https://github.com/salte-io/dry-parser/actions/workflows/ci.yml/badge.svg?branch=main
[github-actions-url]: https://github.com/salte-io/dry-parser/actions/workflows/ci.yml

[coveralls-image]: https://img.shields.io/coveralls/salte-io/dry-parser/master.svg
[coveralls-image]: https://img.shields.io/coveralls/salte-io/dry-parser/main.svg
[coveralls-url]: https://coveralls.io/github/salte-io/dry-parser

[commitizen-image]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg
[commitizen-url]: http://commitizen.github.io/cz-cli/

[semantic-release-url]: https://github.com/semantic-release/semantic-release
[semantic-release-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg

[greenkeeper-image]: https://badges.greenkeeper.io/salte-io/dry-parser.svg
[greenkeeper-url]: https://greenkeeper.io
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,23 @@
"url": "https://github.com/salte-io/dry-parser.git"
},
"scripts": {
"start": "nps"
"start": "nps",
"prepare": "husky install"
},
"license": "MIT",
"devDependencies": {
"chai": "^4.2.0",
"coveralls": "^3.0.2",
"eslint": "^6.0.0",
"eslint": "^7.0.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-mocha": "^6.0.0",
"husky": "^4.0.2",
"mocha": "^7.0.1",
"eslint-plugin-mocha": "^10.0.4",
"husky": "^7.0.0",
"mocha": "^9.0.1",
"nps": "^5.9.3",
"nyc": "^15.0.0",
"remove-lockfiles": "^2.1.3",
"semantic-release": "^17.0.0",
"sinon": "^9.0.0"
"sinon": "^11.1.1"
},
"husky": {
"hooks": {
Expand Down