We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c17d80 commit 2672752Copy full SHA for 2672752
1 file changed
.github/workflows/publish-npm.yml
@@ -7,10 +7,27 @@ on:
7
- feat_release_connect-js-package
8
9
jobs:
10
+ validate:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - uses: bufbuild/buf-setup-action@v1.5.0
15
+ with:
16
+ github_token: ${{ secrets.GITHUB_TOKEN }}
17
+ - name: Lint protobuf files
18
+ run: buf lint
19
+ - name: Check breaking changes
20
+ run: buf breaking --against 'https://github.com/raystack/proton.git#branch=main'
21
+ if: github.ref != 'refs/heads/main'
22
+
23
publish:
24
runs-on: ubuntu-latest
25
+ needs: validate
26
steps:
27
- uses: actions/checkout@v3
28
29
30
31
- uses: actions/setup-node@v3
32
with:
33
node-version: 22
0 commit comments