Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
53 changes: 53 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: ci

on:
pull_request:
branches: [main]

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

steps:
- name: Checking out code...
uses: actions/checkout@v4

- name: Setting up Node...
uses: actions/setup-node@v4
with:
node-version: 22

- name: installing dependencies..
run: npm ci

- name: running tests...
run: npm run test

- name: running coverage...
run: npm run coverage

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

steps:
- name: Checking out code...
uses: actions/checkout@v4

- name: Setting up Node...
uses: actions/setup-node@v4
with:
node-version: 22

- name: installing dependencies...
run: npm ci

- name: Checking formatting issues...
run: npm run format:check

- name: fixing formatting...
run: npm run format:write

- name: checking linting issues...
run: npm run lint -- --max-warnings=0
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
![CI](https://github.com/Luizcs2/cicd-typescript/actions/workflows/ci.yml/badge.svg)
# 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 +23,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!

luiz's version of Boot.dev's Notely app.
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalize the first word/proper name for readability (e.g., "Luiz's version …"); consider consistent sentence casing in the README.

Suggested change
luiz's version of Boot.dev's Notely app.
Luiz's version of Boot.dev's Notely app.

Copilot uses AI. Check for mistakes.
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"],
languageOptions: {
// Project files run in Node.js and may also include browser-facing assets.
globals: { ...globals.node, ...globals.browser },
},
},
tseslint.configs.recommended,
pluginSecurity.configs.recommended,
]);
Loading