generated from xqsit94/vite-vue3-ts-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rm unoCSS * add type-check on pre-commit * rm eslintcache * add env to gitignore * cleanup project * add CI workflows
- Loading branch information
Showing
23 changed files
with
4,344 additions
and
4,385 deletions.
There are no files selected for viewing
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,28 @@ | ||
name: Build and Deploy on Netlify | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
permissions: | ||
id-token: write | ||
contents: read | ||
|
||
concurrency: | ||
group: dev_environment | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
unit-test: | ||
runs-on: ubuntu-latest | ||
name: Pass unit tests | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 'lts/*' | ||
cache: 'npm' | ||
- name: Install dependencies | ||
run: yarn --frozen-lockfile | ||
- name: Run unit tests | ||
run: yarn test -- run |
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,25 @@ | ||
name: Pull requests validation | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
branches: | ||
- 'main' | ||
|
||
jobs: | ||
unit-test: | ||
runs-on: ubuntu-latest | ||
name: Pass unit tests | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 'lts/*' | ||
cache: 'yarn' | ||
- name: Install dependencies | ||
run: yarn --frozen-lockfile | ||
- name: Run unit tests | ||
run: yarn test -- run |
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 |
---|---|---|
|
@@ -13,6 +13,9 @@ dist | |
dist-ssr | ||
coverage | ||
*.local | ||
.env | ||
|
||
.eslintcache | ||
|
||
/cypress/videos/ | ||
/cypress/screenshots/ | ||
|
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,6 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged | ||
npx lint-staged | ||
npx lint-staged | ||
yarn type-check & npx lint-staged |
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
Oops, something went wrong.