-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(npm): GitHub Actions publishing modules to npm (#7657)
- Loading branch information
1 parent
f7edf54
commit cdde97c
Showing
11 changed files
with
286 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Publish amazon | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- 'app/scripts/modules/amazon/package.json' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js 10.15.1 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.15.1 | ||
- name: publish amazon | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN | ||
app/scripts/modules/github_actions_publish.sh amazon | ||
env: | ||
CI: true | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Publish appengine | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- 'app/scripts/modules/appengine/package.json' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js 10.15.1 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.15.1 | ||
- name: publish appengine | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN | ||
app/scripts/modules/github_actions_publish.sh appengine | ||
env: | ||
CI: true | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Publish azure | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- 'app/scripts/modules/azure/package.json' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js 10.15.1 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.15.1 | ||
- name: publish azure | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN | ||
app/scripts/modules/github_actions_publish.sh azure | ||
env: | ||
CI: true | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Publish cloudfoundry | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- 'app/scripts/modules/cloudfoundry/package.json' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js 10.15.1 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.15.1 | ||
- name: publish cloudfoundry | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN | ||
app/scripts/modules/github_actions_publish.sh cloudfoundry | ||
env: | ||
CI: true | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Publish core | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- 'app/scripts/modules/core/package.json' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js 10.15.1 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.15.1 | ||
- name: publish core | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN | ||
app/scripts/modules/github_actions_publish.sh core | ||
env: | ||
CI: true | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Publish docker | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- 'app/scripts/modules/docker/package.json' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js 10.15.1 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.15.1 | ||
- name: publish docker | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN | ||
app/scripts/modules/github_actions_publish.sh docker | ||
env: | ||
CI: true | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Publish ecs | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- 'app/scripts/modules/ecs/package.json' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js 10.15.1 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.15.1 | ||
- name: publish ecs | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN | ||
app/scripts/modules/github_actions_publish.sh ecs | ||
env: | ||
CI: true | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Publish google | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- 'app/scripts/modules/google/package.json' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js 10.15.1 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.15.1 | ||
- name: publish google | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN | ||
app/scripts/modules/github_actions_publish.sh google | ||
env: | ||
CI: true | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Publish huaweicloud | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- 'app/scripts/modules/huaweicloud/package.json' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js 10.15.1 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.15.1 | ||
- name: publish huaweicloud | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN | ||
app/scripts/modules/github_actions_publish.sh huaweicloud | ||
env: | ||
CI: true | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Publish kubernetes | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- 'app/scripts/modules/kubernetes/package.json' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js 10.15.1 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.15.1 | ||
- name: publish kubernetes | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN | ||
app/scripts/modules/github_actions_publish.sh kubernetes | ||
env: | ||
CI: true | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Publish oracle | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- 'app/scripts/modules/oracle/package.json' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js 10.15.1 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.15.1 | ||
- name: publish oracle | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN | ||
app/scripts/modules/github_actions_publish.sh oracle | ||
env: | ||
CI: true | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |