Skip to content

Commit 7e7596a

Browse files
author
thoughtsunificator
committed
workflow
1 parent 8f8def7 commit 7e7596a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish to npm
2+
3+
on: push
4+
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
steps:
9+
uses: actions/checkout@v2
10+
11+
- name: Install all dependencies
12+
run: npm install
13+
14+
- name: Test
15+
run: npm test
16+
17+
- uses: JS-DevTools/npm-publish@v1
18+
with:
19+
token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)