-
Notifications
You must be signed in to change notification settings - Fork 1
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
21 changed files
with
2,780 additions
and
2,306 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,3 @@ | ||
- match: | ||
dependency_type: all | ||
update_type: "semver:minor" |
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,34 @@ | ||
# Configuration for probot-stale - https://github.com/probot/stale | ||
|
||
# Number of days of inactivity before an Issue or Pull Request becomes stale | ||
daysUntilStale: 365 | ||
# Number of days of inactivity before a stale Issue or Pull Request is closed | ||
daysUntilClose: 14 | ||
# Issues or Pull Requests with these labels will never be considered stale | ||
exemptLabels: | ||
- "status: triaged" | ||
- "type: security" | ||
# - regression | ||
# Label to use when marking as stale | ||
staleLabel: "status: stale" | ||
# Comment to post when marking as stale. Set to `false` to disable | ||
markComment: > | ||
Thanks for your contribution! | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. Because the Out Of Sync team treats their issues | ||
[as their backlog](https://en.wikipedia.org/wiki/Scrum_(software_development)#Product_backlog), stale issues | ||
are closed. If you would like this issue to remain open: | ||
1. Verify that you can still reproduce the issue | ||
1. Comment that the issue is still reproducible and include: | ||
* What OS and version you reproduced the issue on | ||
* What steps you followed to reproduce the issue | ||
Issues that are labeled as triaged will not be automatically marked as stale. | ||
# Comment to post when removing the stale label. Set to `false` to disable | ||
unmarkComment: false | ||
# Comment to post when closing a stale Issue or Pull Request. Set to `false` to disable | ||
closeComment: false | ||
# Limit to only `issues` or `pulls` | ||
only: issues |
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,44 @@ | ||
name: auto-merge | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
auto-merge: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [14.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: 'Use Node.js ${{ matrix.node-version }}' | ||
uses: actions/setup-node@v1 | ||
with: | ||
always-auth: true | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: 'NPM Test' | ||
shell: bash | ||
run: | | ||
npm version patch | ||
npx -c 'echo "$npm_package_version"' | ||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc | ||
npm config set registry http://registry.npmjs.org | ||
npm config set always-auth true | ||
sudo mkdir ~/.npm || true | ||
sudo chown -R $USER:$GROUP ~/.npm || true | ||
sudo chown -R $USER:$GROUP ~/.config || true | ||
npm ci | ||
gulp | ||
npm run coverage | ||
env: | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
|
||
- uses: ahmadnassri/action-dependabot-auto-merge@v2 | ||
with: | ||
target: minor | ||
github-token: ${{ secrets.mytoken }} |
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,74 @@ | ||
name: Build and Test Develop | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
develop-push: | ||
name: 'Develop Testing' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [14.x] | ||
slack-channel: ['build-monitoring'] | ||
steps: | ||
- name: 'Notify build start' | ||
uses: voxmedia/github-action-slack-notify-build@v1 | ||
id: slack | ||
with: | ||
channel: ${{ matrix.slack-channel }} | ||
status: STARTED | ||
color: warning | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | ||
|
||
- name: 'Checkout' | ||
uses: actions/checkout@master | ||
|
||
- name: 'Use Node.js ${{ matrix.node-version }}' | ||
uses: actions/setup-node@v1 | ||
with: | ||
always-auth: true | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: 'NPM Test' | ||
shell: bash | ||
run: | | ||
npm install -g gulp-cli gulp@4 | ||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc | ||
npm config set registry http://registry.npmjs.org | ||
npm config set always-auth true | ||
sudo mkdir ~/.npm || true | ||
sudo chown -R $USER:$GROUP ~/.npm || true | ||
sudo chown -R $USER:$GROUP ~/.config || true | ||
npm ci | ||
gulp | ||
npm run coverage | ||
env: | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
|
||
- name: Notify slack success | ||
if: success() | ||
uses: voxmedia/github-action-slack-notify-build@v1 | ||
with: | ||
# Updates existing message from the first step | ||
message_id: ${{ steps.slack.outputs.message_id }} | ||
channel: ${{ matrix.slack-channel }} | ||
status: SUCCESS | ||
color: good | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | ||
|
||
- name: Notify slack fail | ||
if: failure() | ||
uses: voxmedia/github-action-slack-notify-build@v1 | ||
with: | ||
message_id: ${{ steps.slack.outputs.message_id }} | ||
channel: ${{ matrix.slack-channel }} | ||
status: FAILED | ||
color: danger | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_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,82 @@ | ||
name: Master build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
master-push: | ||
name: 'Master Build' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [14.x] | ||
slack-channel: ['build-monitoring'] | ||
steps: | ||
- name: 'Notify build start' | ||
uses: voxmedia/github-action-slack-notify-build@v1 | ||
id: slack | ||
with: | ||
channel: ${{ matrix.slack-channel }} | ||
status: STARTED | ||
color: warning | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | ||
|
||
- name: 'Checkout' | ||
uses: actions/checkout@master | ||
|
||
- name: 'Use Node.js ${{ matrix.node-version }}' | ||
uses: actions/setup-node@v1 | ||
with: | ||
always-auth: true | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: 'NPM Test' | ||
shell: bash | ||
run: | | ||
npm install -g gulp-cli gulp@4 | ||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc | ||
npm config set registry http://registry.npmjs.org | ||
npm config set always-auth true | ||
sudo mkdir ~/.npm || true | ||
sudo chown -R $USER:$GROUP ~/.npm || true | ||
sudo chown -R $USER:$GROUP ~/.config || true | ||
npm ci | ||
gulp | ||
env: | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
|
||
- name: 'NPM Publish' | ||
shell: bash | ||
run: | | ||
npm run coverage || true | ||
npm publish || true | ||
env: | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
|
||
- name: Notify slack success | ||
if: success() | ||
uses: voxmedia/github-action-slack-notify-build@v1 | ||
with: | ||
# Updates existing message from the first step | ||
message_id: ${{ steps.slack.outputs.message_id }} | ||
channel: ${{ matrix.slack-channel }} | ||
status: SUCCESS | ||
color: good | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | ||
|
||
- name: Notify slack fail | ||
if: failure() | ||
uses: voxmedia/github-action-slack-notify-build@v1 | ||
with: | ||
message_id: ${{ steps.slack.outputs.message_id }} | ||
channel: ${{ matrix.slack-channel }} | ||
status: FAILED | ||
color: danger | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |
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,4 +1,4 @@ | ||
FROM node:10 | ||
FROM node:14 | ||
|
||
# Create app directory | ||
WORKDIR /usr/src/app | ||
|
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 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
Oops, something went wrong.