-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(): add github remplates, add circleci
- Loading branch information
1 parent
9fd0d2c
commit 2ed14b6
Showing
7 changed files
with
160 additions
and
15 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,59 @@ | ||
version: 2 | ||
|
||
aliases: | ||
- &restore-cache | ||
restore_cache: | ||
key: dependency-cache-{{ checksum "package.json" }} | ||
- &install-deps | ||
run: | ||
name: Install dependencies | ||
command: npm ci | ||
- &build-packages | ||
run: | ||
name: Build | ||
command: npm run build | ||
|
||
jobs: | ||
build: | ||
working_directory: ~/nest | ||
docker: | ||
- image: circleci/node:12 | ||
steps: | ||
- checkout | ||
- run: | ||
name: Update NPM version | ||
command: 'sudo npm install -g npm@latest' | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package.json" }} | ||
- run: | ||
name: Install dependencies | ||
command: npm ci | ||
- save_cache: | ||
key: dependency-cache-{{ checksum "package.json" }} | ||
paths: | ||
- ./node_modules | ||
- run: | ||
name: Build | ||
command: npm run build | ||
|
||
integration_tests: | ||
working_directory: ~/nest | ||
docker: | ||
- image: circleci/node:12 | ||
steps: | ||
- checkout | ||
- *restore-cache | ||
- *install-deps | ||
- run: | ||
name: Integration tests | ||
command: npm run test:integration | ||
|
||
workflows: | ||
version: 2 | ||
build-and-test: | ||
jobs: | ||
- build | ||
- integration_tests: | ||
requires: | ||
- build | ||
|
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,46 @@ | ||
<!-- | ||
PLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION. | ||
ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION. | ||
--> | ||
|
||
## I'm submitting a... | ||
<!-- | ||
Please search GitHub for a similar issue or PR before submitting. | ||
Check one of the following options with "x" --> | ||
<pre><code> | ||
[ ] Regression <!--(a behavior that used to work and stopped working in a new release)--> | ||
[ ] Bug report | ||
[ ] Feature request | ||
[ ] Documentation issue or request | ||
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow. | ||
</code></pre> | ||
|
||
## Current behavior | ||
<!-- Describe how the issue manifests. --> | ||
|
||
|
||
## Expected behavior | ||
<!-- Describe what the desired behavior would be. --> | ||
|
||
|
||
## Minimal reproduction of the problem with instructions | ||
<!-- Please share a repo, a gist, or step-by-step instructions. --> | ||
|
||
## What is the motivation / use case for changing the behavior? | ||
<!-- Describe the motivation or the concrete use case. --> | ||
|
||
|
||
## Environment | ||
|
||
<pre><code> | ||
Nest version: X.Y.Z | ||
<!-- Check whether this is still an issue in the most recent Nest version --> | ||
|
||
For Tooling issues: | ||
- Node version: XX <!-- run `node --version` --> | ||
- Platform: <!-- Mac, Linux, Windows --> | ||
|
||
Others: | ||
<!-- Anything else relevant? Operating system version, IDE, package manager, ... --> | ||
</code></pre> |
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,41 @@ | ||
## PR Checklist | ||
Please check if your PR fulfills the following requirements: | ||
|
||
- [ ] The commit message follows our guidelines: https://github.com/nestjs/nest/blob/master/CONTRIBUTING.md | ||
- [ ] Tests for the changes have been added (for bug fixes / features) | ||
- [ ] Docs have been added / updated (for bug fixes / features) | ||
|
||
|
||
## PR Type | ||
What kind of change does this PR introduce? | ||
|
||
<!-- Please check the one that applies to this PR using "x". --> | ||
``` | ||
[ ] Bugfix | ||
[ ] Feature | ||
[ ] Code style update (formatting, local variables) | ||
[ ] Refactoring (no functional changes, no api changes) | ||
[ ] Build related changes | ||
[ ] CI related changes | ||
[ ] Other... Please describe: | ||
``` | ||
|
||
## What is the current behavior? | ||
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. --> | ||
|
||
Issue Number: N/A | ||
|
||
|
||
## What is the new behavior? | ||
|
||
|
||
## Does this PR introduce a breaking change? | ||
``` | ||
[ ] Yes | ||
[ ] No | ||
``` | ||
|
||
<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. --> | ||
|
||
|
||
## Other information |
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,18 +1,23 @@ | ||
# source | ||
e2e/ | ||
lib/ | ||
.idea/ | ||
coverage/ | ||
|
||
# config | ||
tsconfig.json | ||
tslint.json | ||
e2e/ | ||
.prettierignore | ||
.prettierrc | ||
.travis.yml | ||
docker-compose.yml | ||
jest.config.js | ||
jest-e2e.config.js | ||
renovate.json | ||
coverage/ | ||
sample.tsconfig.json | ||
cc-test-reporter | ||
|
||
# misc | ||
sample/ | ||
.github/ | ||
FUNDING.yml | ||
sample.tsconfig.json |
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,10 +1,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"overrides": [ | ||
{ | ||
"files": ".prettierrc", | ||
"options": { "parser": "json" } | ||
} | ||
] | ||
"trailingComma": "all" | ||
} |
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,14 +1,14 @@ | ||
{ | ||
"name": "nest-bull", | ||
"name": "@nestjs/bull", | ||
"version": "0.9.0", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@bull)", | ||
"homepage": "https://github.com/fwoelffel/nest-bull", | ||
"homepage": "https://github.com/nestjs/bull", | ||
"bugs": { | ||
"url": "https://github.com/fwoelffel/nest-bull/issues" | ||
"url": "https://github.com/nestjs/bull/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/fwoelffel/nest-bull.git" | ||
"url": "git+https://github.com/nestjs/bull.git" | ||
}, | ||
"license": "MIT", | ||
"author": "Frederic Woelffel <[email protected]>", | ||
|
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