From 57c34deeae6db4d1c13cfabd1c2e3903a8871c66 Mon Sep 17 00:00:00 2001 From: demuelle Date: Tue, 8 Apr 2025 09:45:57 -0500 Subject: [PATCH 1/6] removes todo --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 86e87472..b36556c1 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ GitHub Actions is a great solution to this problem. For example, you could creat ## Initial Project Setup -TODO: this definitely doesn't work To begin, start by forking the following repository [GitHub Actions Demo](https://github.com/coding-boot-camp/github-actions-demo). Once you have forked this repository you should then clone the forked repository to your local machine. ## Create the Workflow From 10af027bd519ae5ddf138a50670ba96f45a3f029 Mon Sep 17 00:00:00 2001 From: jmo5896 Date: Tue, 27 May 2025 21:28:44 -0500 Subject: [PATCH 2/6] change made to package.json --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e0adbbe8..cf820acd 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "dev": "vite --port 3000", "build": "tsc && vite build", "lint": "eslint src --ext js,tsx --report-unused-disable-directives --max-warnings 0", - "preview": "vite preview", - "eslint": "eslint src", + "preview": "vite preview", + "eslint": "eslint src", "test": "vitest" }, "dependencies": { @@ -33,4 +33,4 @@ "vite": "^4.4.5", "vitest": "^2.0.4" } -} +} \ No newline at end of file From 4fc02722ea99874877f40cf4ed978ea037f6f24b Mon Sep 17 00:00:00 2001 From: jmo5896 Date: Tue, 27 May 2025 21:42:10 -0500 Subject: [PATCH 3/6] yml files added --- .github/workflows/main.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..e69de29b From bc3a4878d661344d9f45d14072377587f35130f3 Mon Sep 17 00:00:00 2001 From: jmo5896 Date: Tue, 27 May 2025 21:44:51 -0500 Subject: [PATCH 4/6] yml files added --- .github/workflows/main.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e69de29b..94a7b83f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: Lint Workflow + +on: + pull_request: + branches: + - develop + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Use Node.js 20.x + uses: actions/setup-node@v4 + with: + node-version: 20.x + + - name: Install dependencies + run: npm install + + - name: Run Lint + run: npm run lint From 84260eb1d417fa4773552c978df953fe3df7c68b Mon Sep 17 00:00:00 2001 From: jmo5896 Date: Tue, 27 May 2025 21:48:04 -0500 Subject: [PATCH 5/6] yml files added --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 94a7b83f..ddab351b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,10 +11,10 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v1 - name: Use Node.js 20.x - uses: actions/setup-node@v4 + uses: actions/setup-node@v1 with: node-version: 20.x From 89fa5670aa0b833d5dcb7bf1734d79f1f7b483ec Mon Sep 17 00:00:00 2001 From: jmo5896 Date: Tue, 27 May 2025 21:51:19 -0500 Subject: [PATCH 6/6] yml files added --- src/components/Advertisement.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Advertisement.tsx b/src/components/Advertisement.tsx index 2181f6aa..bb55bcb2 100644 --- a/src/components/Advertisement.tsx +++ b/src/components/Advertisement.tsx @@ -2,7 +2,7 @@ interface AdvertisementProps { companyName: string; productDescription: string; price: string; -}; +} function Advertisement(props: AdvertisementProps) { return (