Skip to content

Commit 43b3902

Browse files
committed
change node version
1 parent 8e3df78 commit 43b3902

4 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/pipeline.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Node.js
1616
uses: actions/setup-node@v3
1717
with:
18-
node-version: 16
18+
node-version: 24
1919

2020
- name: Install dependencies
2121
run: npm install

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
console.log("Hello Kenny!")
2+
console.log("Hello Hanna")
3+

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"run": "node index.js",
8+
"test": "node test.js"
89
},
910
"repository": {
1011
"type": "git",

test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
console.log('Starting tests..');
2+
setTimeout(() => console.log('Waiting 3 seconds..'), 3000);
3+
console.log('Tests complete!');
4+
5+

0 commit comments

Comments
 (0)