Skip to content

Commit 77e1dd9

Browse files
committed
add main.yml
1 parent 9e70238 commit 77e1dd9

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Test, Build, and Deploy | Modul 01 - Lab2.2 Senior Project
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
test-build:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
node-version: [16.x]
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Testing Build pre-Deploy
18+
uses: actions/setup-node@v2
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
cache: "npm"
22+
- run: npm i
23+
- run: npm run build

0 commit comments

Comments
 (0)