Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…nboarding into feature/Issue-75-Develop-a-page-for-creating-new-product-tour-items
  • Loading branch information
SimerdeepSinghGrewal committed Aug 9, 2024
2 parents 629cda4 + c9431e1 commit 76645ec
Show file tree
Hide file tree
Showing 58 changed files with 30,130 additions and 552 deletions.
18 changes: 8 additions & 10 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
language: "en-US"
language: "en-CA"
tone_instructions: "His palms are sweaty, knees weak, arms are heavy There’s vomit on his sweater already, mom’s spaghetti"
early_access: false

reviews:
profile: "chill"
request_changes_workflow: false
high_level_summary: true
poem: true
review_status: true
collapse_walkthrough: false
high_level_summary: false
poem: false
review_status: false

auto_review:
enabled: true
drafts: false
comment_on_pr: true
short_review: true

chat:
auto_reply: true
auto_reply: false

61 changes: 61 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Node.js CI

on:
push:
branches: ["develop", "master"]
pull_request:
branches: ["develop", "master"]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]

steps:
- uses: actions/checkout@v4

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install dependencies for backend
working-directory: ./backend
run: |
if [ -f package-lock.json ]; then
npm ci
else
npm install
fi
- name: Install dependencies for frontend
working-directory: ./frontend
run: |
if [ -f package-lock.json ]; then
npm ci
else
npm install
fi
- name: Build backend
working-directory: ./backend
run: npm run build --if-present

- name: Build frontend
working-directory: ./frontend
run: npm run build --if-present

# Uncomment the following lines to run tests
# - name: Run tests for backend
# working-directory: ./backend
# run: npm test

- name: Run tests for frontend
working-directory: ./frontend
run: npm test

- name: Run Docker container
run: docker-compose up --build -d
5 changes: 5 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Security Policy

If you find a vulnerability, send it to [email protected]

Please do not create an issue for security vulnerabilities.
Loading

0 comments on commit 76645ec

Please sign in to comment.