Skip to content
This repository was archived by the owner on Apr 8, 2021. It is now read-only.

Commit 325007f

Browse files
authored
Add GitHub actions (#35)
1 parent 8871039 commit 325007f

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: release
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
publish-npm:
7+
runs-on: ubuntu-18.04
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions/setup-node@v1
11+
with:
12+
node-version: '10.14'
13+
registry-url: https://registry.npmjs.org/
14+
- name: Cache Node.js modules
15+
uses: actions/cache@v2
16+
with:
17+
path: ~/.npm
18+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
19+
restore-keys: |
20+
${{ runner.os }}-node-
21+
- run: npm ci
22+
- run: npm publish
23+
env:
24+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# parse-server-simple-mailgun-adapter
2+
<a href="https://www.npmjs.com/package/@parse/simple-mailgun-adapter"><img alt="npm version" src="https://img.shields.io/npm/v/@parse/simple-mailgun-adapter.svg?style=flat"></a>
3+
24
Used to send Parse Server password reset and email verification emails though Mailgun
35

46
## Installation

0 commit comments

Comments
 (0)