Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 7 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
types:
- synchronize
- opened
push:
branches:
- main

jobs:
lint:
Expand Down Expand Up @@ -45,19 +48,11 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Run tests
run: pnpm test:ci
- name: Generate coverage report
uses: irongut/CodeCoverageSummary@51cc3a756ddcd398d447c044c02cb6aa83fdae95 # v1.3.0
if: ${{ github.actor != 'dependabot[bot]' }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@0da7aa657d958d32c117fc47e1f977e7524753c7 # v5.3.0
with:
filename: coverage/cobertura-coverage.xml
format: markdown
output: file
- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2.9.0
if: ${{ github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' }}
with:
recreate: true
path: code-coverage-results.md
token: ${{ secrets.CODECOV_TOKEN }}
slug: saleor/app-sdk

build:
runs-on: ubuntu-22.04
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"@vercel/kv": "1.0.0",
"@vitejs/plugin-react": "^3.0.1",
"@vitest/coverage-c8": "^0.27.2",
"@vitejs/plugin-react": "4.3.4",
"@vitest/coverage-v8": "3.0.4",
"clean-publish": "^4.0.1",
"eslint": "8.23.0",
"eslint-config-airbnb": "^19.0.4",
Expand All @@ -77,8 +77,8 @@
"tsup": "^6.2.3",
"typescript": "4.9.5",
"vi-fetch": "^0.8.0",
"vite": "^4.0.4",
"vitest": "^0.28.1"
"vite": "6.0.11 ",
"vitest": "3.0.4"
},
"peerDependenciesMeta": {
"@vercel/kv": {
Expand Down
Loading