feat: use the local supersetbot (#27615)

This commit is contained in:
Maxime Beauchemin 2024-03-25 08:58:22 -07:00 committed by GitHub
parent d87422527b
commit 33c2d98e66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 35 additions and 6 deletions

View File

@ -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

View File

@ -55,7 +55,13 @@ jobs:
uses: actions/setup-node@v4
with:
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
env:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}

View File

@ -56,15 +56,15 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20'
- name: install supersetbot
run: |
npm install -g supersetbot
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup supersetbot
uses: ./.github/actions/setup-supersetbot/
- name: Build Docker Image
shell: bash
run: |

View File

@ -15,7 +15,13 @@ jobs:
uses: actions/setup-node@v4
with:
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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -35,7 +35,13 @@ jobs:
uses: actions/setup-node@v4
with:
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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}