Skip to content

Commit 5225564

Browse files
authored
Merge pull request #1 from amitjimiwal/develop
merge dashboard and auth
2 parents adecd64 + 39b6794 commit 5225564

39 files changed

+3819
-5806
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,34 @@
1-
# This is a basic workflow to help you get started with Actions
2-
name: CI-CD
1+
name: Check and Build
32

4-
# Controls when the action will run.
53
on:
6-
# Triggers the workflow on push or pull request events but only for the main branch
74
push:
8-
branches: [main]
5+
branches:
6+
- main
7+
- develop
98
pull_request:
10-
branches: [main]
11-
# # Allows you to run this workflow manually from the Actions tab
12-
# workflow_dispatch:
9+
branches:
10+
- main
11+
- develop
12+
workflow_dispatch:
1313

14-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1514
jobs:
16-
# This workflow contains multiple jobs
17-
build_test:
18-
# The type of runner that the job will run on
15+
build:
1916
runs-on: ubuntu-latest
2017
strategy:
2118
matrix:
22-
node-version: [14.x]
23-
24-
# Steps represent a sequence of tasks that will be executed as part of the job
19+
node-version: [16.x]
2520
steps:
26-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27-
- uses: actions/checkout@v2
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
2823

29-
- name: setup node
30-
uses: actions/setup-node@master
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
3126
with:
3227
node-version: ${{ matrix.node-version }}
3328

34-
# install applicaion dependencies
3529
- name: Install dependencies
36-
run: |
37-
npm install
38-
# build and test the apps
39-
- name: build
40-
run: |
41-
npm run build
30+
run: npm install
31+
32+
- name: Build
33+
run: npm run build
34+

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ node_modules
1111
dist
1212
dist-ssr
1313
*.local
14-
14+
.env
1515
# Editor directories and files
1616
.vscode/*
1717
!.vscode/extensions.json

.husky/pre-push

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)