Compare commits

..

17 Commits

Author SHA1 Message Date
Space-Banane
94fd7f9f81 Merge branch 'main' of ssh://gitea.reversed.dev:2222/space/vinted-favs-price
All checks were successful
CI / build-and-publish (push) Successful in 23s
2026-02-17 17:19:03 +01:00
Space-Banane
5c12de59bd Merge branch 'dev' 2026-02-17 17:17:55 +01:00
Space-Banane
9a29cd9be5 chore: update version to 1.4.0 in manifest.json
All checks were successful
CI / build-and-publish (push) Successful in 12s
CI / build-and-publish (pull_request) Successful in 12s
2026-02-17 17:16:21 +01:00
Space-Banane
6853c882de make icon "square"
All checks were successful
CI / build-and-publish (push) Successful in 11s
2026-02-17 17:09:48 +01:00
Space-Banane
c4897062af fix: correct key from "icon" to "icons" in manifest.json
Some checks failed
CI / build-and-publish (push) Failing after 11s
2026-02-17 17:07:55 +01:00
Space-Banane
cb20957171 fix: add missing icons section in metadata.json
All checks were successful
CI / build-and-publish (push) Successful in 10s
2026-02-17 17:06:02 +01:00
Space-Banane
7814a6a3de Refactor code structure for improved readability and maintainability
All checks were successful
CI / build-and-publish (push) Successful in 11s
2026-02-17 17:05:20 +01:00
Space-Banane
fd54ef990c removed dumb step [skip ci] 2026-02-17 17:02:07 +01:00
Space-Banane
09ddca6957 feat: add artifact unzipping step and update upload path in CI workflows
All checks were successful
CI / build-and-publish (push) Successful in 10s
2026-02-17 17:01:30 +01:00
Space-Banane
24a18e8f8e fix: update artifact upload path to only include zip files in dist directory
All checks were successful
CI / build-and-publish (push) Successful in 9s
2026-02-17 17:00:11 +01:00
Space-Banane
d4fb8a054b fix: update artifact upload path to include all files in dist directory
All checks were successful
CI / build-and-publish (push) Successful in 11s
2026-02-17 16:58:36 +01:00
Space-Banane
7b2c6affe1 refactor: remove npm cache configuration from CI workflow
All checks were successful
CI / build-and-publish (push) Successful in 10s
2026-02-17 16:55:53 +01:00
Space-Banane
1bf2fbe3a6 refactor: remove version increment and commit step from CI workflow
Some checks failed
CI / build-and-publish (push) Has been cancelled
2026-02-17 16:54:08 +01:00
Space-Banane
b9481a7dad Merge branch 'dev' of ssh://gitea.reversed.dev:2222/space/vinted-favs-price into dev
Some checks failed
CI / build-and-publish (push) Has been cancelled
2026-02-17 16:52:31 +01:00
Space-Banane
fd65ad9de1 Added NPM Cache 2026-02-17 16:52:18 +01:00
343d85d5a0 chore: bump version to 1.3.1 [skip ci] 2026-02-17 15:51:54 +00:00
Space-Banane
09267c7501 feat: add CI workflow for build and versioning
All checks were successful
CI / build-and-publish (push) Successful in 25s
2026-02-17 16:51:23 +01:00
7 changed files with 4181 additions and 5 deletions

View File

@@ -49,12 +49,16 @@ jobs:
- name: web-ext build - name: web-ext build
run: npx web-ext build -s . -a dist --overwrite-dest run: npx web-ext build -s . -a dist --overwrite-dest
- name: Unzip build artifact
run: |
mkdir -p disst
unzip -o dist/*.zip -d disst
- name: Upload build artifact - name: Upload build artifact
# v4+ not supported on Gitea Actions/Forgejo, use v3 for compatibility
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: web-ext-build name: web-ext-build
path: dist/ path: disst/**
- name: Publish to Mozilla Add-ons - name: Publish to Mozilla Add-ons
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')

37
.gitea/workflows/dev.yml Normal file
View File

@@ -0,0 +1,37 @@
name: CI
on:
push:
branches: [dev]
pull_request:
branches: [dev]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
- run: npm install --only=dev
- name: web-ext lint
run: npx web-ext lint -v
- name: web-ext build
run: npx web-ext build -s . -a dist --overwrite-dest
- name: Unzip build artifact
run: |
mkdir -p disst
unzip -o dist/*.zip -d disst
- name: Upload build artifact
# v4+ not supported on Gitea Actions/Forgejo, use v3 for compatibility
uses: actions/upload-artifact@v3
with:
name: web-ext-build
path: disst/**

7
.gitignore vendored
View File

@@ -1 +1,6 @@
web-ext-artifacts/ web-ext-artifacts/
node_modules/
dist/
build/
*.zip
*.xpi

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -1,7 +1,13 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "Vinted Favorites Price", "name": "Vinted Favorites Price",
"version": "1.3.1", "version": "1.4.0",
"icons": {
"16": "icon.png",
"32": "icon.png",
"48": "icon.png",
"128": "icon.png"
},
"categories": { "categories": {
"firefox": [ "firefox": [
"shopping" "shopping"

View File

@@ -1,5 +1,11 @@
{ {
"version": { "license": "MIT" }, "version": { "license": "MIT" },
"categories": { "firefox": ["shopping"] }, "categories": { "firefox": ["shopping"] },
"requires_payment": false "requires_payment": false,
"icons": {
"16": "icon.png",
"32": "icon.png",
"48": "icon.png",
"128": "icon.png"
}
} }

4118
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff