Skip to content

Commit 125ff22

Browse files
authored
Update build.yml
1 parent 606f69a commit 125ff22

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: build
22
on:
33
push:
4-
# Sequence of patterns matched against refs/tags
5-
tags:
6-
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
4+
branches: [ master ]
5+
pull_request:
6+
branches: [ master ]
77
jobs:
88
build:
99
runs-on: Ubuntu-latest
@@ -25,8 +25,3 @@ jobs:
2525
run: npm test
2626
- name: Before deploy
2727
run: npm run docs
28-
- name: Publish
29-
if: ${{ matrix.node-version == '12.16.3' }}
30-
run: npm publish
31-
env:
32-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)