Skip to content

Commit d32e6aa

Browse files
author
Lars Kölpin-Freese
committed
chore: publish on push
1 parent 39c6d28 commit d32e6aa

File tree

3 files changed

+10461
-19159
lines changed

3 files changed

+10461
-19159
lines changed

.github/workflows/build-and-test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Build and test
33
on:
44
push:
55
branches: [master]
6-
pull_request:
7-
branches: [master]
86
jobs:
97
buildAndTest:
108
name: Build and test (Node.js v${{ matrix.node-version }})
@@ -19,8 +17,11 @@ jobs:
1917
uses: actions/setup-node@v2
2018
with:
2119
node-version: ${{ matrix.node-version }}
20+
registry-url: 'https://registry.npmjs.org'
2221
- name: Install install dependencies
2322
run: npm ci
2423
- name: test
2524
run: npm test
26-
25+
- run: npm publish
26+
env:
27+
NODE_AUTH_TOKEN: ${{ secrets.NPM_SECRET_TOKEN }}

0 commit comments

Comments
 (0)