Skip to content

Commit a736bdc

Browse files
committed
CI
1 parent 46d0568 commit a736bdc

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

.github/workflows/Deploy.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy to npm
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v1
15+
with:
16+
registry-url: "https://registry.npmjs.org"
17+
18+
# Ensure everything is set up right
19+
- run: "yarn install"
20+
- run: "yarn build"
21+
- run: "yarn test"
22+
23+
- uses: Github-Actions-Community/merge-release@22d66d3f7750d57b2b8c05db6077205332527df8
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
27+
DEPLOY_DIR: .
28+
SRC_PACKAGE_DIR: .

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Types for RevenueCat's webhooks
22

3-
Hand-crafted from their docs, and comprehensive.
3+
Hand-crafted from their docs, with JSDoc when appropriate and nullability manually added.
44

55
```ts
66
import { Webhook } from "@puzzmo/revenue-cat-webhook-types"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "@puzzmo/revenue-cat-webhook-types",
33
"version": "0.0.1",
4-
"description": "TypeScript types for RevenueCat Webhooks"
4+
"description": "TypeScript types for RevenueCat Webhooks. Hand-crafted from their docs, with JSDoc when appropriate and nullability manually added."
55
}

0 commit comments

Comments
 (0)