Skip to content

Commit eb08b8b

Browse files
committed
chore: test release-please flow
1 parent 0bb65e7 commit eb08b8b

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: release-please
2+
on:
3+
push:
4+
branches:
5+
- test/release-flow
6+
jobs:
7+
release-please:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: GoogleCloudPlatform/release-please-action@v2
11+
id: release
12+
with:
13+
token: ${{ secrets.NODE_PKG_RELEASE_TOKEN }}
14+
release-type: node
15+
package-name: '@netlify/open-api'
16+
if: ${{ !steps.release.outputs.release_created }}

.github/workflows/swagger-bump.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: swagger-bump
2+
on:
3+
push:
4+
branches:
5+
- release-*
6+
jobs:
7+
swagger-bump:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: 12
14+
registry-url: 'https://registry.npmjs.org'
15+
- run: npm install
16+
- run: npm version:1-swagger
17+
- uses: stefanzweifel/git-auto-commit-action@v4
18+
with:
19+
commit_message: "Bump swagger.yml file"

0 commit comments

Comments
 (0)