Skip to content

Commit

Permalink
Merge pull request #50 from JuckZ/develop
Browse files Browse the repository at this point in the history
chore: npm config, codecov ci
  • Loading branch information
JuckZ authored Dec 16, 2024
2 parents 3706128 + e0ce64a commit 9958f60
Show file tree
Hide file tree
Showing 5 changed files with 3,088 additions and 2,893 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ jobs:
- name: Test
run: pnpm run report:coverage

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Get the branch name
id: get-branch-name
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ stats.html
docs/.vitepress/cache
docs/.vitepress/dist
/test-results/
test-report.junit.xml
/playwright-report/
/playwright/.cache/

Expand Down
6 changes: 3 additions & 3 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# tag-version-prefix=""
# registry = https://registry.npmjs.org
# @local:registry = http://localhost:4873/
# registry = https://registry.npm.taobao.org
# registry=https://registry.npmmirror.com
electron_mirror=https://npmmirror.com/mirrors/electron/
# proxy=http://localhost:7890
https-proxy=http://localhost:7890
https_proxy=http://localhost:7890
# https-proxy=http://localhost:7890
# https_proxy=http://localhost:7890
shamefully-hoist=true
strict-peer-dependencies=false
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"test:e2e": "start-server-and-test preview :4173 'cypress run --e2e'",
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' :4173 'cypress open --e2e'",
"test:coverage": "vitest run --coverage",
"report:coverage": "npm run test:coverage",
"report:coverage": "npm run test:coverage && vitest --reporter=junit --outputFile=test-report.junit.xml",
"build-only": "vite build",
"update": "ncu -u",
"type-check": "vue-tsc --noEmit -p tsconfig.json --composite false",
Expand Down
Loading

0 comments on commit 9958f60

Please sign in to comment.