-
-
Notifications
You must be signed in to change notification settings - Fork 230
37 lines (37 loc) · 1.01 KB
/
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
36
37
on:
push:
branches:
- master
name: release-please-submodule
jobs:
release:
runs-on: ubuntu-latest
outputs:
paths_released: ${{ steps.manifest_release.outputs.paths_released }}
steps:
- uses: google-github-actions/release-please-action@11eb2583adb69444ed39ef89801e4eabb4a286bb
id: manifest_release
with:
command: manifest
token: ${{ secrets.GITHUB_TOKEN }}
default-branch: master
publish:
runs-on: ubuntu-latest
needs: release
strategy:
fail-fast: false
matrix:
path: ${{fromJson(needs.release.outputs.paths_released)}}
steps:
- uses: actions/checkout@v2
- 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