forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: move supersetbot out of repo (apache#27647)
- Loading branch information
1 parent
f85891a
commit c739225
Showing
23 changed files
with
50 additions
and
12,539 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 |
---|---|---|
@@ -1,11 +1,36 @@ | ||
name: 'Setup supersetbot' | ||
description: 'Sets up supersetbot npm lib from the repo' | ||
description: 'Sets up supersetbot npm lib from the repo or npm' | ||
inputs: | ||
from-npm: | ||
description: 'Install from npm instead of local setup' | ||
required: false | ||
default: 'true' # Defaults to using the local setup | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Install dependencies | ||
|
||
- name: Setup Node Env | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
|
||
- name: Install supersetbot from npm | ||
if: ${{ inputs.from-npm == 'true' }} | ||
shell: bash | ||
run: npm install -g supersetbot | ||
|
||
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" | ||
if: ${{ inputs.from-npm == 'false' }} | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: apache-superset/supersetbot | ||
path: supersetbot | ||
|
||
- name: Setup supersetbot from repo | ||
if: ${{ inputs.from-npm == 'false' }} | ||
shell: bash | ||
working-directory: supersetbot | ||
run: | | ||
cd .github/supersetbot | ||
npm install | ||
npm link | ||
# simple trick to install globally with dependencies | ||
npm pack | ||
npm install -g ./supersetbot*.tgz |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.