Investigate Bundle size to reduce load (query, studio) #75
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
name: (Bot) Onboard New Issue | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
onboard-new-issue: | |
name: Onboard New Issue | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4.1.1 | |
- name: Get Yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT | |
- name: Setup Yarn cache | |
uses: actions/cache@v3.3.2 | |
id: yarn-cache | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-yarn- | |
- name: Setup Node | |
uses: actions/setup-node@v4.0.0 | |
with: | |
node-version: 21 | |
- name: Install dependencies | |
run: yarn workspaces focus --production @finos/legend-internal-github-bot | |
- name: Onboard new issue | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ORGANIZATION_READ_TOKEN: ${{ secrets.READ_ORG_TOKEN }} | |
ORGANIZATION_NAME: finos | |
TEAM_NAME: legend-contributors | |
TEAM_LABEL: 'Studio Core Team' | |
FALLBACK_MILESTONE: 'Backlog' | |
working-directory: ./scripts/github-bot | |
run: node ./onboardNewIssue.js |