-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: build system converted to esbuild (#109)
* feat: build system converted to esbuild esbuild is way faster and give good options for publishing ES Modules. This commit also includes changes for using CSS files for component styles and having Rubik fpnt locally via fontsource library. * ci: build project before storybook deployment * ci: action worklows are unified * ci: github actions workflow rearrenged Co-authored-by: Murat Çorlu <murat.corlu@trendyol.com> Fixes #65 , #104, #102
- Loading branch information
1 parent
2429123
commit 4a24e65
Showing
28 changed files
with
2,007 additions
and
4,951 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: 'Verify and Preview' | ||
|
||
on: | ||
pull_request: | ||
branches: [ next ] | ||
push: | ||
branches: [ next ] | ||
|
||
jobs: | ||
verify: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
- name: Set Node env | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Run linter check | ||
run: npm run lint | ||
- name: Set testing environment | ||
uses: microsoft/playwright-github-action@v1 | ||
- name: Run tests | ||
run: npm run test | ||
|
||
chromatic-deployment: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set Node env | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Build Grace | ||
run: npm run build | ||
- name: Publish to Chromatic | ||
uses: chromaui/action@v1 | ||
with: | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
test/ | ||
coverage/ | ||
jest.config.js | ||
storybook-static/ | ||
.loki/ | ||
docs/ | ||
.github | ||
.husky | ||
.storybook | ||
*.mdx | ||
*.test.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"extends": "stylelint-config-standard", | ||
"customSyntax": "postcss-lit" | ||
"extends": ["stylelint-config-standard", "stylelint-config-prettier"] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.