Skip to content

Commit af4c1c9

Browse files
authored
chore: add release PR flow (#130)
1 parent fe5d80e commit af4c1c9

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: release-please
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
release-please:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: GoogleCloudPlatform/release-please-action@v2
11+
with:
12+
token: ${{ secrets.GITHUB_TOKEN }}
13+
release-type: node
14+
package-name: '@netlify/plugin-lighthouse'

CONTRIBUTING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Contributing
22

3+
## Setup
4+
35
First fork this project
46

57
```bash
@@ -16,3 +18,10 @@ git push origin my-fix
1618
```
1719

1820
Lastly, open a pull request on Github.
21+
22+
## Releasing
23+
24+
1. Merge the release PR
25+
2. Switch to the default branch `git checkout master`
26+
3. Pull latest changes `git pull`
27+
4. Publish the package `npm publish`

0 commit comments

Comments
 (0)