Skip to content

Commit 8454b76

Browse files
authored
Update nodejs.yaml
1 parent 36127a5 commit 8454b76

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/nodejs.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
name: Node Js app
2-
1+
name: nodejs-app-test
32
on:
43
push:
5-
workflow_dispatch:
4+
workflow_dispatch:
5+
66
jobs:
7-
echo-Print:
7+
echo-print:
88
runs-on: ubuntu-latest
9+
910
steps:
10-
- uses: actions/checkout@v3
11-
- uses: actions/setup-node@v3
12-
with:
13-
node-version: 14
14-
- run: npm install
15-
- run: npm test
16-
- run: npm run build
17-
- uses: actions/upload-artifact@v3
18-
with:
19-
name: build-artifact
20-
path: ./build
21-
22-
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: '14'
15+
- run: npm install
16+
- run: npm test
17+
- run: mkdir build
18+
- run: npm run build
19+
- uses: actions/upload-artifact@v3
20+
with:
21+
name: build-artifact
22+
path: build

0 commit comments

Comments
 (0)