mirror of https://github.com/apache/superset.git
feat: use the local supersetbot (#27615)
This commit is contained in:
parent
d87422527b
commit
33c2d98e66
|
@ -0,0 +1,11 @@
|
||||||
|
name: 'Setup supersetbot'
|
||||||
|
description: 'Sets up supersetbot npm lib from the repo'
|
||||||
|
runs:
|
||||||
|
using: 'composite'
|
||||||
|
steps:
|
||||||
|
- name: Install dependencies
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cd .github/supersetbot
|
||||||
|
npm install
|
||||||
|
npm link
|
|
@ -55,7 +55,13 @@ jobs:
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
- run: npm install -g supersetbot
|
|
||||||
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup supersetbot
|
||||||
|
uses: ./.github/actions/setup-supersetbot/
|
||||||
|
|
||||||
- name: Execute custom Node.js script
|
- name: Execute custom Node.js script
|
||||||
env:
|
env:
|
||||||
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
|
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
|
||||||
|
|
|
@ -56,15 +56,15 @@ jobs:
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
- name: install supersetbot
|
|
||||||
run: |
|
|
||||||
npm install -g supersetbot
|
|
||||||
|
|
||||||
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
|
- name: Setup supersetbot
|
||||||
|
uses: ./.github/actions/setup-supersetbot/
|
||||||
|
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -15,7 +15,13 @@ jobs:
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
- run: npm install -g supersetbot
|
|
||||||
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup supersetbot
|
||||||
|
uses: ./.github/actions/setup-supersetbot/
|
||||||
|
|
||||||
- name: Execute custom Node.js script
|
- name: Execute custom Node.js script
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
@ -35,7 +35,13 @@ jobs:
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
- run: npm install supersetbot
|
|
||||||
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup supersetbot
|
||||||
|
uses: ./.github/actions/setup-supersetbot/
|
||||||
|
|
||||||
- name: Execute custom Node.js script
|
- name: Execute custom Node.js script
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue