Skip to content

Commit

Permalink
fix: updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
yawetse committed Apr 1, 2021
1 parent e2a9c8d commit 056ec3c
Show file tree
Hide file tree
Showing 12 changed files with 14,228 additions and 2,668 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
File renamed without changes.
File renamed without changes.
71 changes: 71 additions & 0 deletions .github/workflows/auto-merge-dependabot.yml
@@ -0,0 +1,71 @@
# name: Dependabot Auto Merge

# on:
# pull_request:

# jobs:
# auto-merge:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: ahmadnassri/action-dependabot-auto-merge@v2
# with:
# target: minor
# github-token: ${{ secrets.mytoken }}
name: Dependabot Auto Merge
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 14
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: |
npm i jest typescript rollup typedoc sitedown -g
npm ci
- name: Test coverage
run: |
jest --coverage --runInBand
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel: true
path-to-lcov: ./coverage/lcov.info # optional (default value)

- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
- name: build files, docs
run: |
npm run compile
npm run build
automerge:
needs: build
runs-on: ubuntu-latest
steps:
- uses: fastify/github-action-merge-dependabot@v2.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
59 changes: 59 additions & 0 deletions .github/workflows/release.yml
@@ -0,0 +1,59 @@
name: Release
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 14
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: |
npm i jest typescript rollup typedoc sitedown -g
npm ci
- name: Test coverage
run: |
jest --coverage --runInBand
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel: true
path-to-lcov: ./coverage/lcov.info # optional (default value)

- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
- name: build files, docs
run: |
npm run compile
npm run build
# tsc && rollup -c && typedoc && sitedown manual/ -b docs/manual
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
1 change: 1 addition & 0 deletions .husky/.gitignore
@@ -0,0 +1 @@
_
7 changes: 7 additions & 0 deletions .husky/commit-msg
@@ -0,0 +1,7 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit
npx --no-install commitlint --edit
npx --no-install commitlint --edit
npx --no-install commitlint --edit
1 change: 1 addition & 0 deletions .vscode/snipsnap.code-snippets

Large diffs are not rendered by default.

0 comments on commit 056ec3c

Please sign in to comment.