2024-01-26 12:36:04 -05:00
|
|
|
name: Upload Technical Debt Metrics to Google Sheets
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
process-and-upload:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout Repository
|
2024-02-01 13:56:33 -05:00
|
|
|
uses: actions/checkout@v4
|
2024-01-26 12:36:04 -05:00
|
|
|
|
|
|
|
- name: Set up Node.js
|
2024-02-01 10:06:48 -05:00
|
|
|
uses: actions/setup-node@v4
|
2024-01-26 12:36:04 -05:00
|
|
|
with:
|
|
|
|
node-version: '16'
|
|
|
|
|
|
|
|
- name: Install Dependencies
|
|
|
|
run: npm install
|
|
|
|
working-directory: ./superset-frontend
|
|
|
|
|
|
|
|
- name: Run Script
|
|
|
|
env:
|
|
|
|
SPREADSHEET_ID: '1oABNnzxJYzwUrHjr_c9wfYEq9dFL1ScVof9LlaAdxvo'
|
|
|
|
SERVICE_ACCOUNT_KEY: ${{ secrets.GSHEET_KEY }}
|
|
|
|
run: npm run lint-stats
|
|
|
|
working-directory: ./superset-frontend
|