We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36127a5 commit 8454b76Copy full SHA for 8454b76
.github/workflows/nodejs.yaml
@@ -1,22 +1,22 @@
1
-name: Node Js app
2
-
+name: nodejs-app-test
3
on:
4
push:
5
- workflow_dispatch:
+ workflow_dispatch:
+
6
jobs:
7
- echo-Print:
+ echo-print:
8
runs-on: ubuntu-latest
9
10
steps:
- - 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
19
- name: build-artifact
20
- path: ./build
21
22
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: '14'
+ - run: npm install
+ - run: npm test
+ - run: mkdir build
+ - run: npm run build
+ - uses: actions/upload-artifact@v3
+ name: build-artifact
+ path: build
0 commit comments