Skip to content

Commit

Permalink
Merge pull request #8 from adorsys/update-dependencies
Browse files Browse the repository at this point in the history
Bump dependencies
  • Loading branch information
jkroepke committed Nov 7, 2020
2 parents 480fec9 + 1486cb2 commit 386e14f
Show file tree
Hide file tree
Showing 11 changed files with 14,658 additions and 16,387 deletions.
9 changes: 9 additions & 0 deletions .airtap.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
providers:
- airtap-sauce
- airtap-default

browsers:
- name: chrome
version: latest
Expand All @@ -9,3 +13,8 @@ browsers:
version: latest
- name: android
version: '6.0'

presets:
local:
browsers:
- name: default
52 changes: 52 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"projectName": "encrypt-down",
"projectOwner": "adorsys",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 100,
"commit": true,
"commitConvention": "none",
"contributors": [
{
"login": "vweevers",
"name": "Vincent Weevers",
"avatar_url": "https://avatars2.githubusercontent.com/u/3055345?v=4",
"profile": "https://vincentweevers.nl/",
"contributions": [
"question"
]
},
{
"login": "francis-pouatcha",
"name": "Francis Pouatcha",
"avatar_url": "https://avatars1.githubusercontent.com/u/1225651?v=4",
"profile": "https://github.com/francis-pouatcha",
"contributions": [
"ideas"
]
},
{
"login": "borisskert",
"name": "Boris Skert",
"avatar_url": "https://avatars1.githubusercontent.com/u/25199775?v=4",
"profile": "https://github.com/borisskert",
"contributions": [
"doc"
]
},
{
"login": "jkroepke",
"name": "Jan-Otto Kröpke",
"avatar_url": "https://avatars3.githubusercontent.com/u/1560587?v=4",
"profile": "https://github.com/jkroepke",
"contributions": [
"maintenance",
"infra"
]
}
],
"contributorsPerLine": 7
}
64 changes: 39 additions & 25 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
name: CI

env:
NPM_CONFIG_REGISTRY: https://registry.npmjs.org:8443/

on:
pull_request:
push:
Expand All @@ -17,19 +20,29 @@ jobs:
with:
node-version: '12'

- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci

- name: build
run: npm run build

- uses: saucelabs/sauce-connect-action@master
with:
username: ${{ secrets.SAUCE_USERNAME }}
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
tunnelIdentifier: github-action-tunnel
- name: Add loopback host
run: echo "127.0.0.1 airtap.local" | sudo tee -a /etc/hosts

- name: test
run: npm run test:ci
- name: unit test
run: npm run test

- name: integration test (node)
run: npm run test:integ-node

- name: integration test (sauce)
run: npm run test:integ-browser
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
Expand All @@ -39,21 +52,22 @@ jobs:
env:
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
COVERALLS_GIT_BRANCH: "${{ github.ref }}"
deploy:
runs-on: ubuntu-latest
needs: [tests]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false

- uses: actions/setup-node@v1
with:
node-version: '12'

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
# deploy:
# runs-on: ubuntu-latest
# needs: [tests]
# if: github.ref == 'refs/heads/master'
# steps:
# - uses: actions/checkout@v2
# with:
# fetch-depth: 0
# persist-credentials: false
#
# - uses: actions/setup-node@v1
# with:
# node-version: '12'
#
# - name: Release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# run: npx semantic-release
33 changes: 30 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# :closed_lock_with_key: encrypt-down :closed_lock_with_key:
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

[![leveldb](https://leveljs.org/img/badge.svg)](https://github.com/level/awesome)
[![Travis](https://img.shields.io/travis/adorsys/encrypt-down.svg)](https://travis-ci.org/adorsys/encrypt-down)
Expand Down Expand Up @@ -69,9 +72,20 @@ db.put('key', { awesome: true }, function (err) {
Made with :heart: by [radzom](https://github.com/radzom) and all these wonderful contributors ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
| <img src="https://avatars.githubusercontent.com/u/3055345" width="100px;"/><br /><sub><b>Vincent Weevers</b></sub><br />💬 | <img src="https://avatars.githubusercontent.com/u/1225651" width="100px;"/><br /><sub><b>Francis Pouatcha</b></sub><br />🤔 | <img src="https://avatars2.githubusercontent.com/u/25199775" width="100px;"/><br /><sub><b>Boris Skert</b></sub><br />📖 | | | | |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="https://vincentweevers.nl/"><img src="https://avatars2.githubusercontent.com/u/3055345?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Vincent Weevers</b></sub></a><br /><a href="#question-vweevers" title="Answering Questions">💬</a></td>
<td align="center"><a href="https://github.com/francis-pouatcha"><img src="https://avatars1.githubusercontent.com/u/1225651?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Francis Pouatcha</b></sub></a><br /><a href="#ideas-francis-pouatcha" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://github.com/borisskert"><img src="https://avatars1.githubusercontent.com/u/25199775?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Boris Skert</b></sub></a><br /><a href="https://github.com/adorsys/encrypt-down/commits?author=borisskert" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/jkroepke"><img src="https://avatars3.githubusercontent.com/u/1560587?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jan-Otto Kröpke</b></sub></a><br /><a href="#maintenance-jkroepke" title="Maintenance">🚧</a> <a href="#infra-jkroepke" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
</tr>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome!
Expand All @@ -81,3 +95,16 @@ This project follows the [all-contributors](https://github.com/kentcdodds/all-co
Cross-browser Testing Platform and Open Source ♥ Provided by [Sauce Labs](https://saucelabs.com).

[![Sauce Labs logo](./Sauce-Labs.png)](https://saucelabs.com)

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./src')

0 comments on commit 386e14f

Please sign in to comment.