Skip to content

Commit

Permalink
new preloader
Browse files Browse the repository at this point in the history
  • Loading branch information
bibinthomas123 committed Nov 10, 2023
1 parent 6771381 commit abb938a
Show file tree
Hide file tree
Showing 71 changed files with 23,710 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
version: 2.1

orbs:
node: circleci/[email protected]

jobs:
build:
docker:
- image: circleci/node:16
steps:
- checkout
- node/install-packages
- run:
name: Install dependencies
command: npm install --legacy-peer-deps
- run:
name: Build application
command: npm run build
- save_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- node_modules
test:
docker:
- image: circleci/node:16
steps:
- checkout
- node/install-packages
- restore_cache:
keys:
- dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Run tests
command: npm test
deploy:
docker:
- image: circleci/node:16
steps:
- checkout
- node/install-packages
- restore_cache:
keys:
- dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Deploy to production
command: |
if [ "${CIRCLE_BRANCH}" == "main" ]; then
npm run deploy
else
echo "Not deploying since not on main branch"
fi
workflows:
version: 2
build-test-deploy:
jobs:
- build

4 changes: 4 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version = 1

[[analyzers]]
name = "javascript"
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
Loading

0 comments on commit abb938a

Please sign in to comment.