-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from Sidaroth/github-setup
Set up github actions and other github related stuff
- Loading branch information
Showing
7 changed files
with
124 additions
and
11 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,28 @@ | ||
# Set to true to add reviewers to pull requests | ||
addReviewers: true | ||
|
||
# Set to true to add assignees to pull requests | ||
addAssignees: true | ||
|
||
# A list of reviewers to be added to pull requests (GitHub user name) | ||
reviewers: | ||
- Sidaroth | ||
- Garlov | ||
|
||
# A number of reviewers added to the pull request | ||
# Set 0 to add all the reviewers (default: 0) | ||
numberOfReviewers: 0 | ||
|
||
# A list of assignees, overrides reviewers if set | ||
assignees: | ||
- Sidaroth | ||
- Garlov | ||
|
||
# A number of assignees to add to the pull request | ||
# Set to 0 to add all of the assignees. | ||
# Uses numberOfReviewers if unset. | ||
numberOfAssignees: 1 | ||
|
||
# A list of keywords to be skipped the process that add reviewers if pull requests include it | ||
# skipKeywords: | ||
# - wip |
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,12 @@ | ||
# 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://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 10 |
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,20 @@ | ||
## Details | ||
|
||
*Details for how to test and what is being added should be described here*<br/> | ||
|
||
## Types of changes | ||
What types of changes does your code introduce? | ||
|
||
_Put an `x` in the boxes that apply_ | ||
|
||
- [ ] Bugfix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] CI/CD Workflow update | ||
- [ ] Minor or Documentation Update (if none of the other choices apply) | ||
|
||
## Checklist | ||
|
||
_Put an `x` in the boxes that apply. You can also fill these out after creating the PR._ | ||
|
||
- [ ] I have merged the corresponding branch (likely main) into this branch and handled any merge conflicts that arise. | ||
- [ ] I have not used any code or snippet that is not an open license. |
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,12 @@ | ||
name: "Auto Assign" | ||
on: | ||
pull_request: | ||
types: [opened, ready_for_review] | ||
|
||
jobs: | ||
add-reviewers: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: kentaro-m/[email protected] | ||
with: | ||
configuration-path: .github/auto_assign.yml |
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,32 @@ | ||
name: Build - Lint - Test | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
BLT: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7.33.6 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.7.0 | ||
registry-url: https://npm.pkg.github.com/ | ||
cache: 'pnpm' | ||
- name: Install packages | ||
run: pnpm install | ||
- name: Lint | ||
run: pnpm lint | ||
- name: Build lib | ||
run: pnpm build | ||
# - name: Test | ||
# run: pnpm test |
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 |
---|---|---|
|
@@ -3,6 +3,16 @@ | |
"version": "2.0.0", | ||
"description": "Phaser 3 Boilerplate project for rapid development.", | ||
"author": "Christian Holt ([email protected])", | ||
"contributors": [ | ||
{ | ||
"name": "Christian Holt", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Øyvind Nordli", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"main": "src/index.ts", | ||
"scripts": { | ||
"start": "pnpm run dev", | ||
|
@@ -14,7 +24,6 @@ | |
}, | ||
"license": "MIT", | ||
"licenseUrl": "http://www.opensource.org/licenses/mit-license.php", | ||
"homepage": "https://sidaroth.no", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/sidaroth/Phaser3.Boilerplate.git" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.