Skip to content

Commit

Permalink
Readme Fix and Action for Publishing to github (#18)
Browse files Browse the repository at this point in the history
* feat(typescript): added autocomplete types

* feat(typescript): added retrieve, enrichment, cleaner and identity types

* feat(typescript): finished all endpoints and added types to errors

* feat(typescript): added types to examples

* feat(typescript): fixes based on questions

* feat(typescript): added pretty param to all endpoints

* feat(typescript): added rate limiting data and types

* feat(typescript): fixed bulk test

* feat(typescript): bumped to version 2.0.0

* fix readme

* fixes

* update readme and add pr template

* add github publish

* update token

Co-authored-by: Diego Abizaid <diegoabizaid@gmail.com>
  • Loading branch information
vvillait88 and dabizaid authored Apr 20, 2022
1 parent 1ae87d5 commit a85b20d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Description of the change

> Description here
## Type of change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] Chore (cleanup or minor QOL tweak that has little to no impact on functionality)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
16 changes: 15 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Package
name: Publish Packages to NPM and Github

on:
release:
Expand Down Expand Up @@ -30,3 +30,17 @@ jobs:
- run: yarn run pub
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-gpr:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: yarn
- run: yarn run pub
env:
NODE_AUTH_TOKEN: ${{secrets.GH_TOKEN}}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ This library bundles up PDL API requests into simple function calls, making it e

## ✨ Features
- Tiny <2KB size gzip
- Works in Node.js and in Browser
- Supports all People Data Labs API endpoints
- Built-in Typescript support

Expand Down

0 comments on commit a85b20d

Please sign in to comment.