generated from 47ng/typescript-library-starter
-
-
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.
- Loading branch information
Showing
16 changed files
with
2,012 additions
and
1,312 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,42 @@ | ||
version: 1 | ||
update_configs: | ||
# Dependencies | ||
- package_manager: javascript | ||
directory: / | ||
update_schedule: live | ||
default_assignees: | ||
- franky47 | ||
automerged_updates: | ||
- match: | ||
dependency_type: development | ||
update_type: all | ||
- match: | ||
dependency_type: production | ||
update_type: in_range | ||
- match: | ||
dependency_type: production | ||
update_type: security:patch | ||
# Demo Dependencies | ||
- package_manager: javascript | ||
directory: /demo | ||
update_schedule: live | ||
default_assignees: | ||
- franky47 | ||
automerged_updates: | ||
- match: | ||
dependency_type: development | ||
update_type: all | ||
- match: | ||
dependency_type: production | ||
update_type: in_range | ||
- match: | ||
dependency_type: production | ||
update_type: security:patch | ||
# GitHub Actions | ||
- package_manager: github_actions | ||
directory: / | ||
update_schedule: weekly | ||
default_reviewers: | ||
- franky47 | ||
default_assignees: | ||
- franky47 |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Continuous Delivery | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
cd: | ||
name: Continuous Delivery | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: yarn-cache | ||
name: Get Yarn cache path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- uses: actions/checkout@722adc6 | ||
- uses: actions/setup-node@1c5c137 | ||
with: | ||
node-version: 12.x | ||
- uses: actions/cache@70655ec | ||
name: Load Yarn cache | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- run: yarn install --ignore-scripts | ||
name: Install dependencies | ||
- run: yarn build | ||
name: Build package | ||
|
||
# Continuous Delivery Pipeline -- | ||
|
||
- uses: codfish/semantic-release-action@a313b22 | ||
name: Semantic Release | ||
id: semantic | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
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,47 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
push: | ||
branches: | ||
- next | ||
- feature/* | ||
- dependabot/* | ||
pull_request: | ||
types: [opened, edited, reopened] | ||
|
||
jobs: | ||
ci: | ||
name: Continuous Integration | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: yarn-cache | ||
name: Get Yarn cache path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- uses: actions/checkout@722adc6 | ||
- uses: actions/setup-node@1c5c137 | ||
with: | ||
node-version: 12.x | ||
- uses: actions/cache@70655ec | ||
name: Load Yarn cache | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- run: yarn install --ignore-scripts | ||
name: Install dependencies | ||
- run: yarn ci | ||
name: Run integration tests | ||
- uses: coverallsapp/github-action@832e70b | ||
name: Report code coverage | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: 8398a7/action-slack@78391c2 | ||
name: Notify on Slack | ||
if: always() # Pick up events even if the job fails or is canceled. | ||
with: | ||
status: ${{ job.status }} | ||
author_name: Continuous Integration | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |
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 |
---|---|---|
|
@@ -2,6 +2,4 @@ node_modules/ | |
dist/ | ||
.env | ||
yarn-error.log | ||
|
||
# Docker containers with persistance | ||
.volumes/ | ||
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
**/*.test.ts | ||
tsconfig.json | ||
nodemon.json | ||
.env | ||
.volumes/ | ||
yarn-error.log | ||
.github/** | ||
src/** | ||
coverage/ | ||
.dependabot/ |
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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.