Skip to content

Commit 40acb4e

Browse files
authored
Merge pull request #2 from SashaMPs/addtests
v 3.0 ep
2 parents 4d7fb80 + 70d02ca commit 40acb4e

File tree

5 files changed

+3562
-41
lines changed

5 files changed

+3562
-41
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: ci
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
8+
jobs:
9+
tests:
10+
name: Tests
11+
runs-on: ubuntu-latest
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: 18
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Run tests
25+
run: npm run test -- --coverage
26+
27+
28+
29+
30+

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
![alt text](https://github.com/<OWNER>/<REPOSITORY>/actions/workflows/<WORKFLOW_FILE>/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).
@@ -23,4 +24,4 @@ _This starts the server in non-database mode._ It will serve a simple webpage at
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!
2526

26-
Olegoslavich's version of Boot.dev's Notely app.
27+
Olegoslavavich's version of Boot.dev's Notely app.

0 commit comments

Comments
 (0)