Skip to content

Commit d970da4

Browse files
authored
Merge pull request #1 from SoulOppen/addtests
2 parents f00b130 + 0cacf06 commit d970da4

File tree

5 files changed

+7171
-2590
lines changed

5 files changed

+7171
-2590
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: ci
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
tests:
9+
name: Tests
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Check out code
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Node
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 22
20+
21+
22+
- name: Install dependencies
23+
run: |
24+
rm -f package-lock.json
25+
npm install
26+
npm ci
27+
- name: Test
28+
run: npm run test -- --coverage

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
![Badge](https://github.com/SoulOppen/learn-cicd-typescript-starter/actions/workflows/ci.yml/badge.svg)
12
# learn-cicd-typescript-starter (Notely)
23

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

2425
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!
26+
SoulOppen's version of Boot.dev's Notely app.

0 commit comments

Comments
 (0)