Skip to content

add main.yml

add main.yml #1

Workflow file for this run

name: Test, Build, and Deploy | Modul 01 - Lab2.2 Senior Project
on:
push:
branches: [main]
jobs:
test-build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Testing Build pre-Deploy
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm i
- run: npm run build