Diego Allies
commited on
Run AltBranch Deploy.yml
Browse files
.github/workflows/AltBranchDeploy.yml
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Node.js CI
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches:
|
6 |
+
# - main
|
7 |
+
- AltBranch
|
8 |
+
pull_request:
|
9 |
+
branches:
|
10 |
+
# - main
|
11 |
+
- AltBranch
|
12 |
+
|
13 |
+
jobs:
|
14 |
+
build:
|
15 |
+
|
16 |
+
runs-on: ubuntu-latest
|
17 |
+
|
18 |
+
strategy:
|
19 |
+
matrix:
|
20 |
+
node-version: [20.x]
|
21 |
+
|
22 |
+
steps:
|
23 |
+
- name: Checkout repository
|
24 |
+
uses: actions/checkout@v3
|
25 |
+
|
26 |
+
- name: Set up Node.js
|
27 |
+
uses: actions/setup-node@v3
|
28 |
+
with:
|
29 |
+
node-version: ${{ matrix.node-version }}
|
30 |
+
|
31 |
+
- name: Install dependencies
|
32 |
+
run: npm install
|
33 |
+
|
34 |
+
- name: Start application
|
35 |
+
run: npm start
|