-
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
36 changed files
with
2,459 additions
and
6,133 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 |
---|---|---|
@@ -1,11 +1,14 @@ | ||
# 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" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
assignees: | ||
- "ylabonte" | ||
groups: | ||
dev-dependencies: | ||
dependency-type: "development" | ||
production: | ||
dependency-type: "production" | ||
versioning-strategy: "increase" |
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 @@ | ||
name: "Auto-Merge Dependabot PRs" | ||
|
||
on: | ||
workflow_run: | ||
workflows: | ||
- "CI Workflow" | ||
types: | ||
- completed | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
automerge: | ||
name: "Auto-merge Dependabot PR" | ||
runs-on: ubuntu-latest | ||
if: github.actor == 'dependabot[bot]' | ||
steps: | ||
- name: "Fetch Dependabot metadata" | ||
id: metadata | ||
uses: dependabot/fetch-metadata@v1 | ||
with: | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
- name: "Approve the PR" | ||
run: gh pr review --approve "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GH_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
- name: "Auto-merge the PRs" | ||
run: gh pr merge --auto --merge "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GH_TOKEN: ${{secrets.GITHUB_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 |
---|---|---|
@@ -1,30 +1,47 @@ | ||
name: "CI Workflow" | ||
|
||
permissions: | ||
pull-requests: write | ||
issues: write | ||
contents: write | ||
|
||
on: | ||
push: | ||
branches: [ "master", "develop", "feature/*" ] | ||
branches: | ||
- "master" | ||
- "develop" | ||
- "feature/*" | ||
pull_request: | ||
branches: [ "master", "develop", "feature/*" ] | ||
branches: | ||
- "master" | ||
- "develop" | ||
- "feature/*" | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
name: "Build and lint" | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
node-version: [16, 18] | ||
node-version: | ||
- 16 | ||
- 18 | ||
- 20 | ||
|
||
steps: | ||
- run: git config --global core.autocrlf false | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
- name: "Ensure line endings" | ||
run: git config --global core.autocrlf false | ||
- name: "Checkout repository" | ||
uses: actions/checkout@v4 | ||
- name: "Set up Node.js v${{ matrix.node-version }}" | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm run build | ||
- run: npm run lint | ||
- run: npm run test | ||
env: | ||
CI: true | ||
cache: "yarn" | ||
- name: "Install dependencies" | ||
run: yarn | ||
- name: "Build" | ||
run: yarn run build | ||
- name: "Run linter" | ||
run: yarn run lint |
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
Oops, something went wrong.