Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Oct 17, 2024
1 parent 46d0568 commit a736bdc
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy to npm

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
registry-url: "https://registry.npmjs.org"

# Ensure everything is set up right
- run: "yarn install"
- run: "yarn build"
- run: "yarn test"

- uses: Github-Actions-Community/merge-release@22d66d3f7750d57b2b8c05db6077205332527df8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
DEPLOY_DIR: .
SRC_PACKAGE_DIR: .
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Types for RevenueCat's webhooks

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

```ts
import { Webhook } from "@puzzmo/revenue-cat-webhook-types"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@puzzmo/revenue-cat-webhook-types",
"version": "0.0.1",
"description": "TypeScript types for RevenueCat Webhooks"
"description": "TypeScript types for RevenueCat Webhooks. Hand-crafted from their docs, with JSDoc when appropriate and nullability manually added."
}

0 comments on commit a736bdc

Please sign in to comment.