Skip to content

Commit

Permalink
Merge pull request #6 from caddijp/fix/publish-test
Browse files Browse the repository at this point in the history
chore: publish test
  • Loading branch information
Yasai-T authored May 23, 2022
2 parents 185361e + 881b09d commit 0115b04
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
with:
node-version: '16.x'
- run: npm ci
- run: npm run build
- run: npm test

publish-gpr:
Expand All @@ -25,6 +26,7 @@ jobs:
with:
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
9 changes: 9 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.github/
.gitignore
.eslintignore
.eslintrc
.prettierignore
index.ts
package-lock.json
tsconfig.json
coverage/
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# nestjs-pubsub
# nestjs-cloud-pubsub

![Actions Status](https://github.com/caddijp/nestjs-pubsub/workflows/Node%20CI/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/caddijp/nestjs-pubsub/badge.svg?branch=chore/setup_actions)](https://coveralls.io/github/caddijp/nestjs-pubsub?branch=chore/setup_actions)
![Actions Status](https://github.com/caddijp/nestjs-cloud-pubsub/workflows/Node%20CI/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/caddijp/nestjs-cloud-pubsub/badge.svg?branch=chore/setup_actions)](https://coveralls.io/github/caddijp/nestjs-cloud-pubsub?branch=chore/setup_actions)

The [@google-cloud/pubsub](https://github.com/googleapis/nodejs-pubsub) NestJS module

# Install

```bash
npm install nestjs-pubsub @google-cloud/pubsub
npm install nestjs-cloud-pubsub @google-cloud/pubsub
```

## Usage
Expand Down Expand Up @@ -38,4 +38,4 @@ PRs accepted.

## License

[MIT](https://github.com/caddijp/nestjs-pubsub/blob/master/LICENSE) © CADDi Co.,Ltd
[MIT](https://github.com/caddijp/nestjs-cloud-pubsub/blob/master/LICENSE) © CADDi Co.,Ltd
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "nestjs-pubsub",
"name": "nestjs-cloud-pubsub",
"version": "8.0.0",
"description": "The @google-cloud NestJS module",
"repository": {
"type": "git",
"url": "ssh://[email protected]/caddijp/nestjs-pubsub.git"
"url": "ssh://[email protected]/caddijp/nestjs-cloud-pubsub.git"
},
"author": "CADDi Co.,Ltd",
"bugs": {
"url": "https://github.com/caddijp/nestjs-pubsub/issues"
"url": "https://github.com/caddijp/nestjs-cloud-pubsub/issues"
},
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit 0115b04

Please sign in to comment.