Skip to content

Commit

Permalink
feat!: Initial Release
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshpastakia committed Oct 11, 2024
1 parent fb99a2a commit c015e53
Show file tree
Hide file tree
Showing 581 changed files with 75,725 additions and 1,102 deletions.
6 changes: 6 additions & 0 deletions .codeclimate.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"**/stories/",
"**/tests/",
"**/dist/",
"**/css/",
"**/LICENSE",
"**/*.d.ts",
"**/*.lock",
Expand All @@ -27,6 +28,11 @@
".gitignore",
".npmignore",
".codeclimate.json",
"**/darkBase.ts",
"**/lightBase.ts",
"**/palettes.ts",
"**/world.svg.ts",
"**/_fileType.ts",
"**/_countries.ts",
"**/hijri-date.js"
]
Expand Down
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"jsx-a11y/no-autofocus": "off",
"jsx-a11y/click-events-have-key-events": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/explicit-function-return-type": "off", // react reason
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/consistent-type-assertions": "off",
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/master.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ name: Build and Deploy
on:
# Triggers the workflow on push events for the master branch
push:
branches: [WIP-v4]
branches: [main]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build-and-deploy:
if: "!startsWith(github.event.head_commit.message, 'chore(release)')"
if: "!startsWith(github.event.head_commit.message, 'WIP') && !startsWith(github.event.head_commit.message, 'chore(release)')"
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand All @@ -33,6 +33,14 @@ jobs:
run: |
yarn dist
# Collect test coverage
- name: Run coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.COVERAGE_TOKEN }}
with:
coverageCommand: yarn test --coverage --json --outputFile=./.storybook/jest-test-results.json

# Runs a set of commands using the runners shell
- name: Build storybook
run: |
Expand All @@ -42,8 +50,7 @@ jobs:
- name: Deploy to GitHub Pages
# You may pin to the exact commit or the version.
# uses: JamesIves/github-pages-deploy-action@5dc1d5a192aeb5ab5b7d5a77b7d36aea4a7f5c92
uses: JamesIves/github-pages-deploy-action@4.1.5
uses: JamesIves/github-pages-deploy-action@v4.6.4
with:
branch: gh-pages
target-folder: v4
folder: build
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ node_modules/
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/project.code-snippets
!.vscode/css-custom.json
!.vscode/tasks.json
!.vscode/launch.json
Expand Down
Loading

0 comments on commit c015e53

Please sign in to comment.