Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
5d46398
pr
Jared6484 Jul 2, 2026
4ff5f6a
tests
Jared6484 Jul 4, 2026
9efb658
Modified ci
Jared6484 Jul 6, 2026
ff6d5cd
ci fail test
Jared6484 Jul 8, 2026
360b280
updated workflow
Jared6484 Jul 8, 2026
e911fcd
good test script
Jared6484 Jul 8, 2026
ebebe61
new ci.yml for test failure
Jared6484 Jul 8, 2026
3764e04
with packages .json files
Jared6484 Jul 8, 2026
fb250f0
Merge pull request #1 from Jared6484/addtests
Jared6484 Jul 8, 2026
14f6fbc
--coverage added
Jared6484 Jul 9, 2026
1bece0c
Added Badge
Jared6484 Jul 10, 2026
6c67e3c
Merge pull request #2 from Jared6484/addtests
Jared6484 Jul 10, 2026
8f0b9c8
formatting job added
Jared6484 Jul 12, 2026
b0b04d1
Merge pull request #3 from Jared6484/addtests
Jared6484 Jul 12, 2026
008fd57
lint with unused function
Jared6484 Jul 14, 2026
8ff73d2
No more unused func
Jared6484 Jul 14, 2026
00a6f22
src/main.ts
Jared6484 Jul 14, 2026
8c7ddeb
Merge pull request #4 from Jared6484/addtests
Jared6484 Jul 14, 2026
74c6403
with ci.yml
Jared6484 Jul 14, 2026
b1fbcd8
lint config
Jared6484 Jul 14, 2026
45b19f0
updacted package.json w ESLINT
Jared6484 Jul 14, 2026
2afaada
lint issue
Jared6484 Jul 14, 2026
f97ad3e
Updated dependencies
Jared6484 Jul 14, 2026
c9b011d
Merge pull request #5 from Jared6484/addtests
Jared6484 Jul 14, 2026
0c2d9c8
--max warnings
Jared6484 Jul 18, 2026
fd536d5
main error
Jared6484 Jul 18, 2026
4af6d8d
fixed Security
Jared6484 Jul 20, 2026
f3e66c2
Merge pull request #6 from Jared6484/addtests
Jared6484 Jul 20, 2026
8376ea4
Fixed crypto
Jared6484 Jul 20, 2026
05d3996
cd workflow
Jared6484 Jul 23, 2026
c06fbb9
Merge pull request #7 from Jared6484/addtests
Jared6484 Jul 23, 2026
5b3359b
Remove broken CD workflow
Jared6484 Jul 23, 2026
731f65e
new cd
Jared6484 Jul 23, 2026
9ff74b2
Merge pull request #8 from Jared6484/addtests
Jared6484 Jul 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: cd

on:
push:
branches: [main]

jobs:
Deployment:
name: Deploy
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Node
uses: actions/setup-node@v5
with:
node-version: 22

- name: Install dependencies
run: npm ci

- name: Build App
run: npm run build
47 changes: 47 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: ci

on:
pull_request:
branches: [main]

jobs:
tests:
name: Tests
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Node
uses: actions/setup-node@v5
with:
node-version: 22

- name: Install dependencies
run: npm ci

- name: Run Test
run: npm run test -- --coverage

formatting:
name: Style
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Node
uses: actions/setup-node@v5
with:
node-version: 22

- name: Install dependencies
run: npm ci

- name: Run format check
run: npm run format:check

- name: Run lint check
run: npm run lint -- --max-warnings=0
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![ci](https://github.com/Jared6484/learn-cicd-typescript-starter/actions/workflows/ci.yml/badge.svg)](https://github.com/Jared6484/learn-cicd-typescript-starter/actions/workflows/ci.yml)

# learn-cicd-typescript-starter (Notely)

This repo contains the typescript starter code for the "Notely" application for the "Learn CICD" course on [Boot.dev](https://boot.dev).
Expand All @@ -22,3 +24,5 @@ npm run dev
_This starts the server in non-database mode._ It will serve a simple webpage at `http://localhost:8080`.

You do _not_ need to set up a database or any interactivity on the webpage yet. Instructions for that will come later in the course!

Jared's version of Boot.dev's Notely app.
19 changes: 19 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import js from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";
import { defineConfig } from "eslint/config";
import pluginSecurity from "eslint-plugin-security";

export default defineConfig([
{
files: ["**/*.{js,mjs,cjs,ts,mts,cts}"],
plugins: { js },
extends: ["js/recommended"],
},
{
files: ["**/*.{js,mjs,cjs,ts,mts,cts}"],
languageOptions: { globals: globals.node },
},
tseslint.configs.recommended,
pluginSecurity.configs.recommended,
]);
Loading