Skip to content

Commit

Permalink
Implemented CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
irosic20 authored Jan 10, 2024
1 parent d271dc5 commit baea935
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI Pipeline

on:
push:
branches: ["feature/*","develop","main","hotfix/*","improvement/*"]
pull_request:
branches: ["feature/*","develop","main","hotfix/*","improvement/*"]

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- name: Install dependencies
run: |
cd D:\a\smart-charger-web\smart-charger-web\Software\smart-charger
npm install
- name: Build
run: |
cd D:\a\smart-charger-web\smart-charger-web\Software\smart-charger
npm run build
#- name: Test
# run: |
# cd D:\a\smart-charger-web\smart-charger-web\Software\smart-charger
# npm run test

0 comments on commit baea935

Please sign in to comment.