-
-
Notifications
You must be signed in to change notification settings - Fork 230
35 lines (35 loc) · 1008 Bytes
/
release-please.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
on:
push:
branches:
- main
name: release-please-submodule
jobs:
release:
runs-on: ubuntu-latest
outputs:
paths_released: ${{ steps.manifest_release.outputs.paths_released }}
releases_created: ${{ steps.manifest_release.outputs.releases_created }}
steps:
- uses: google-github-actions/release-please-action@v4
id: manifest_release
publish:
if: ${{ needs.release.outputs.releases_created }}
runs-on: ubuntu-latest
needs: release
strategy:
fail-fast: false
matrix:
path: ${{fromJson(needs.release.outputs.paths_released)}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: 'https://external-dot-oss-automation.appspot.com/'
- name: publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_MONOREPO_TOKEN}}
run: |
cd ${{ matrix.path }}
npm install
npm publish --access=public