Skip to content

Commit 0b3d830

Browse files
build: configure release-please (GoogleCloudPlatform#131)
1 parent f78e8cb commit 0b3d830

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/release-please.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
releaseType: node
2+
handleGHRelease: true

.github/workflows/release.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
on:
2+
release:
3+
types: [published]
4+
name: release
5+
jobs:
6+
release-please:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions/setup-node@v2
11+
with:
12+
node-version: 14
13+
registry-url: 'https://wombat-dressing-room.appspot.com'
14+
- run: npm ci
15+
- run: npm publish
16+
env:
17+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)