Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/actions/license/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ runs:

- name: Run license validator
run: |
pnpx @cloud-ru/ft-license-validator@latest
npx --yes @cloud-ru/ft-license-validator@1.3.0
shell: bash
14 changes: 3 additions & 11 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
cache: 'pnpm'

- name: Install dependencies
run: pnpm install
run: pnpm install --frozen-lockfile

- name: Download Chrome build artifact
uses: actions/download-artifact@v4
Expand All @@ -188,17 +188,9 @@ jobs:
needs: [pr-build, e2e-test]
runs-on: ubuntu-latest
steps:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 10.10.0

- name: Checkout
uses: actions/checkout@v3

- name: Install publish-browser-extension
run: pnpm install -save-dev publish-browser-extension

- name: Download Chrome build artifact
uses: actions/download-artifact@v4
with:
Expand All @@ -225,7 +217,7 @@ jobs:
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
CHROME_PUBLISH_TARGET: ${{ secrets.CHROME_PUBLISH_TARGET }}
run: |
npx publish-browser-extension \
npx --yes publish-browser-extension@4.0.4 \
--dry-run \
--chrome-zip dist/chrome/cloudhood-chrome-${{ needs.pr-build.outputs.short_sha }}.zip \
--chrome-extension-id ${{ env.CHROME_EXTENSION_ID }} \
Expand All @@ -240,7 +232,7 @@ jobs:
FIREFOX_JWT_ISSUER: ${{ secrets.FIREFOX_JWT_ISSUER }}
FIREFOX_JWT_SECRET: ${{ secrets.FIREFOX_JWT_SECRET }}
run: |
npx publish-browser-extension \
npx --yes publish-browser-extension@4.0.4 \
--dry-run \
--firefox-zip dist/firefox/cloudhood-firefox-${{ needs.pr-build.outputs.short_sha }}.zip \
--firefox-sources-zip dist/firefox-sources/cloudhood-firefox-sources-${{ needs.pr-build.outputs.short_sha }}.zip \
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/release-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 10.10.0

- name: Install publish-browser-extension
run: pnpm install -g publish-browser-extension

- name: Download Chrome build artifact
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -161,7 +153,7 @@ jobs:
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
CHROME_PUBLISH_TARGET: ${{ secrets.CHROME_PUBLISH_TARGET }}
run: |
npx publish-browser-extension \
npx --yes publish-browser-extension@4.0.4 \
--chrome-zip cloudhood-chrome.zip \
--chrome-extension-id ${{ env.CHROME_EXTENSION_ID }} \
--chrome-client-id ${{ env.CHROME_CLIENT_ID }} \
Expand All @@ -180,7 +172,7 @@ jobs:

echo "Debug: Firefox extension ID is set: ${{ secrets.FIREFOX_EXTENSION_ID != '' }}"

npx publish-browser-extension \
npx --yes publish-browser-extension@4.0.4 \
--firefox-zip cloudhood-firefox.zip \
--firefox-sources-zip cloudhood-firefox-sources.zip \
--firefox-extension-id ${{ env.FIREFOX_EXTENSION_ID }} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-chrome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:

echo "Debug: Chrome extension ID is set: ${{ secrets.CHROME_EXTENSION_ID != '' }}"

npx publish-browser-extension \
npx --yes publish-browser-extension@4.0.4 \
--chrome-zip cloudhood-chrome.zip \
--chrome-extension-id ${{ env.CHROME_EXTENSION_ID }} \
--chrome-client-id ${{ env.CHROME_CLIENT_ID }} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-firefox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:

echo "Debug: Firefox extension ID is set: ${{ secrets.FIREFOX_EXTENSION_ID != '' }}"

npx publish-browser-extension \
npx --yes publish-browser-extension@4.0.4 \
--firefox-zip cloudhood-firefox.zip \
--firefox-sources-zip cloudhood-firefox-sources.zip \
--firefox-extension-id ${{ env.FIREFOX_EXTENSION_ID }} \
Expand Down
22 changes: 15 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"test:e2e:screenshots:generate": "pnpm test:e2e:screenshots:docker:update"
},
"dependencies": {
"@cloud-ru/ft-config-lint-staged": "1.1.2",
"@dnd-kit/core": "6.3.1",
"@dnd-kit/sortable": "10.0.0",
"@emotion/react": "11.14.0",
Expand All @@ -60,11 +59,12 @@
"vite-plugin-static-copy": "3.1.4"
},
"devDependencies": {
"@cloud-ru/eslint-config": "3.0.0",
"@cloud-ru/eslint-config": "3.1.5",
"@cloud-ru/ft-config-commit-message": "1.1.2",
"@cloud-ru/ft-config-stylelint": "3.0.0",
"@cloud-ru/ft-config-lint-staged": "1.1.4",
"@cloud-ru/ft-config-stylelint": "3.1.2",
"@cloud-ru/ft-config-vitest": "1.2.2",
"@crxjs/vite-plugin": "^2.0.2",
"@crxjs/vite-plugin": "^2.4.0",
"@eslint/compat": "1.2.9",
"@playwright/test": "1.57.0",
"@svgr/webpack": "8.1.0",
Expand All @@ -74,7 +74,7 @@
"@types/webextension-polyfill": "0.12.3",
"@types/ws": "8.18.1",
"@vitejs/plugin-react": "^4.5.2",
"concurrently": "9.2.0",
"concurrently": "9.2.1",
"eslint-plugin-effector": "0.16.0",
"fs-extra": "11.3.0",
"husky": "^9.1.6",
Expand All @@ -83,16 +83,24 @@
"prettier": "3.5.3",
"terser": "5.46.1",
"typescript": "5.7.3",
"vite": "^5.4.19",
"vite": "6.4.2",
"vite-plugin-svgr": "4.3.0",
"vite-tsconfig-paths": "5.1.4",
"webextension-polyfill": "0.12.0",
"ws": "8.20.0"
},
"pnpm": {
"overrides": {
"brace-expansion": "2.0.3",
"esbuild": "0.27.2",
"glob": "10.5.0"
"flatted": "3.4.2",
"glob": "10.5.0",
"minimatch": "9.0.9",
"@eslint/eslintrc>minimatch": "3.1.5",
"picomatch": "4.0.4",
"rollup": "4.60.1",
"svgo": "3.3.3",
"yaml": "1.10.3"
}
},
"packageManager": "pnpm@10.10.0",
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineConfig({
expect: {
timeout: 10000,
toHaveScreenshot: {
maxDiffPixelRatio: 0.01,
maxDiffPixelRatio: 0.005,
threshold: 0.2,
},
},
Expand Down
Loading
Loading