Skip to content

Commit 82ae17d

Browse files
committed
chore: updated github workflows
1 parent 2126fc9 commit 82ae17d

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/publish.yml

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

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
node-version:
11-
- 14.15.4
11+
- 14.x
1212
- 16.x
1313
steps:
1414
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)