-
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
20 changed files
with
4,948 additions
and
7,432 deletions.
There are no files selected for viewing
Empty file.
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,3 +1,3 @@ | ||
- match: | ||
dependency_type: all | ||
- 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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Basic set up for three package managers | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
target-branch: "develop" | ||
schedule: | ||
# Basic set up for three package managers | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
target-branch: "develop" | ||
schedule: | ||
interval: "daily" |
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,34 +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 | ||
# 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 |
---|---|---|
@@ -1,44 +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 }} | ||
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 |
---|---|---|
@@ -1,74 +1,78 @@ | ||
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 }} | ||
name: Build and Test Develop | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
develop-push: | ||
name: 'Develop Testing' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [20.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: | | ||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc | ||
npm config set registry http://registry.npmjs.org | ||
sudo mkdir ~/.npm || true | ||
sudo chown -R $USER:$GROUP ~/.npm || true | ||
sudo chown -R $USER:$GROUP ~/.config || true | ||
npm ci | ||
npm run build | ||
env: | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: 'Report Coverage to Codacy' | ||
uses: codacy/[email protected] | ||
with: | ||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
# or | ||
# api-token: ${{ secrets.CODACY_API_TOKEN }} | ||
coverage-reports: ./coverage/lcov.info | ||
|
||
- 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 }} |
Oops, something went wrong.