From 8d8c1ec6971380bc20f5c159585921e57683162b Mon Sep 17 00:00:00 2001 From: Joydeep Mitra Date: Tue, 8 Apr 2025 12:58:29 -0400 Subject: [PATCH 1/3] prepare handout 02 --- .github/workflows/setupDeploy.yml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .github/workflows/setupDeploy.yml diff --git a/.github/workflows/setupDeploy.yml b/.github/workflows/setupDeploy.yml deleted file mode 100644 index 81e5a12..0000000 --- a/.github/workflows/setupDeploy.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Prepare Database - -on: - push: - branches: - - deploy - -jobs: - "setup-database": - runs-on: cs5500-self-hosted - steps: - - name: Checkout Repository - uses: actions/checkout@v3 - - - name: Install Dependencies - run: npm install - - - name: Delete old database - run: npm run remove-sample-data -- "mongodb://127.0.0.1:27017/my_library_db" - - - name: Seed database - run: npm run insert-sample-data -- "mongodb://127.0.0.1:27017/my_library_db" \ No newline at end of file From 6db96a1d2a5882d9abfa3332beefeba330cdb9b4 Mon Sep 17 00:00:00 2001 From: Ethan Yan Date: Tue, 8 Apr 2025 14:43:24 -0400 Subject: [PATCH 2/3] PR from main --- .github/workflows/main.yml | 2 +- pr.txt | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 pr.txt diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9877da5..b5f046d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ on: jobs: "run-jest-tests": - runs-on: cs5500-self-hosted + runs-on: self-host steps: - name: Checkout Repository uses: actions/checkout@v3 diff --git a/pr.txt b/pr.txt new file mode 100644 index 0000000..e69de29 From 8a4cd6a9becfd19c4e2996b90fade2ba26ae12b7 Mon Sep 17 00:00:00 2001 From: Ethan Yan Date: Tue, 8 Apr 2025 15:03:13 -0400 Subject: [PATCH 3/3] update runner label --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b5f046d..d08913a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ on: jobs: "run-jest-tests": - runs-on: self-host + runs-on: self-hosted steps: - name: Checkout Repository uses: actions/checkout@v3