Skip to content

Commit 4b8df2d

Browse files
committed
npm auto publish
1 parent c46f2e5 commit 4b8df2d

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: npm-publish
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v1
14+
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: 10
18+
19+
- run: npm install
20+
21+
- run: npm test
22+
23+
- uses: JS-DevTools/npm-publish@v1
24+
with:
25+
token: ${{ secrets.NPM_TOKEN }}
26+
access: "public"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@abstractapi/javascript-core",
3-
"version": "0.1.0",
3+
"version": "0.1.2",
44
"description": "AbstractAPI Javascript Core Library - Used by the other Abstract API libraries",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)