Skip to content

Commit c8f72a9

Browse files
test: check working of tests
1 parent b3ccce2 commit c8f72a9

4 files changed

Lines changed: 29 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Basic CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
check:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- uses: actions/setup-node@v3
16+
with:
17+
node-version: 18
18+
19+
- run: npm install
20+
21+
- run: npm run lint
22+
23+
- run: npm test
24+
25+
- run: npm run build

.gitignore

Whitespace-only changes.

index.js

Whitespace-only changes.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"description": "One-line project description.",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"start": "node index.js",
8+
"build": "echo \"Building app\"",
9+
"lint": "echo \"Linting\"",
10+
"test": "echo \"Running tests\""
811
},
912
"repository": {
1013
"type": "git",

0 commit comments

Comments
 (0)