Skip to content

Commit

Permalink
Merge branch 'release/1.5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
chronosis committed Jun 29, 2024
2 parents e01c311 + 1f2ad16 commit ca8c2aa
Show file tree
Hide file tree
Showing 20 changed files with 4,948 additions and 7,432 deletions.
Empty file modified .eslintrc.json
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions .github/auto-merge.yml
100644 → 100755
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"
16 changes: 8 additions & 8 deletions .github/dependabot.yml
100644 → 100755
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"
68 changes: 34 additions & 34 deletions .github/stale.yml
100644 → 100755
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
88 changes: 44 additions & 44 deletions .github/workflows/auto-merge.yml
100644 → 100755
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 }}
152 changes: 78 additions & 74 deletions .github/workflows/build-develop.yml
100644 → 100755
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 }}
Loading

0 comments on commit ca8c2aa

Please sign in to comment.