Skip to content

Commit 81bf42b

Browse files
authored
Merge pull request #281 from DataScience-GT/main
lol
2 parents 935a869 + 3a5cca3 commit 81bf42b

160 files changed

Lines changed: 5888 additions & 4271 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/cloudrun-deploy.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
version: 9
4141

4242
- name: Setup Node
43-
uses: actions/setup-node@v4
43+
uses: actions/setup-node@v6
4444
with:
4545
node-version: '20'
4646
cache: 'pnpm'

.github/workflows/firebase-hosting-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- uses: pnpm/action-setup@v5
1616

17-
- uses: actions/setup-node@v4
17+
- uses: actions/setup-node@v6
1818
with:
1919
node-version: '22'
2020
cache: 'pnpm'

.github/workflows/firebase-hosting-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- uses: pnpm/action-setup@v5
1818

19-
- uses: actions/setup-node@v4
19+
- uses: actions/setup-node@v6
2020
with:
2121
node-version: '22'
2222
cache: 'pnpm'

.github/workflows/label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs:
99
pull-requests: write
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/labeler@v5
12+
- uses: actions/labeler@v6

.github/workflows/pnpm-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- uses: pnpm/action-setup@v5
1818

19-
- uses: actions/setup-node@v4
19+
- uses: actions/setup-node@v6
2020
with:
2121
node-version: '22'
2222
cache: 'pnpm'

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- dev
8+
pull_request:
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '20'
21+
22+
- name: Setup pnpm
23+
uses: pnpm/action-setup@v3
24+
with:
25+
version: 8
26+
27+
- name: Install dependencies
28+
run: pnpm install
29+
30+
- name: Run unique test cases
31+
run: pnpm test
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Weekly Audit Log Cleanup
2+
3+
on:
4+
schedule:
5+
- cron: "0 3 * * 1"
6+
workflow_dispatch:
7+
8+
jobs:
9+
cleanup:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Clear audit_logs
13+
run: |
14+
curl -sf -H "Authorization: Bearer ${{ secrets.CRON_SECRET }}" \
15+
https://datasciencegt.org/api/cron/cleanup-audit-logs

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ yarn-error.log*
3939
# Turbo
4040
.turbo
4141

42+
# CodeGraph
43+
.codegraph*/
44+
4245
# ui
4346
dist/
4447

apphosting.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ env:
4949
secret: projects/672446353769/secrets/EMAIL_SERVER_PASSWORD
5050
- variable: EMAIL_FROM
5151
value: datascience.gt@gmail.com
52+
- variable: CRON_SECRET
53+
secret: CRON_SECRET

0 commit comments

Comments
 (0)