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
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup node
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: 18
node-version: 24

- name: Setup jq
run: sudo apt-get install -y jq
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issues-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v1.0.1
- uses: actions/add-to-project@v2.0.0
with:
project-url: https://github.com/orgs/Streamfinity/projects/1
github-token: ${{ secrets.GH_TOKEN_ISSUES }}
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v7

- name: Setup node
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: 18
node-version: 24

- name: Install dependencies
run: npm install
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup node
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: 18
node-version: 24

- name: Setup jq
run: sudo apt-get install -y jq
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
- name: Create archive
run: cd dist && zip -r ${{ github.ref_name }}_${{ matrix.browser_target }}_mv${{ matrix.manifest_version }}.zip .

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: "${{ github.ref_name }}_${{ matrix.browser_target }}_mv${{ matrix.manifest_version }}.zip"
path: "dist/*.zip"
Expand All @@ -118,9 +118,9 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: "${{ github.ref_name }}_${{ matrix.browser_target }}_mv${{ matrix.manifest_version }}.zip"
path: artifacts/
Expand All @@ -133,7 +133,7 @@ jobs:
crxFilePath: "dist/chrome_${{ github.ref_name }}_mv${{ matrix.manifest_version }}.crx"
privateKey: ${{ secrets.CHROME_CRX_PRIVATE_KEY }}

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: "chrome_${{ github.ref_name }}_mv${{ matrix.manifest_version }}.crx"
path: "dist/*.crx"
Expand All @@ -153,9 +153,9 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: "${{ github.ref_name }}_${{ matrix.browser_target }}_mv${{ matrix.manifest_version }}.zip"
path: artifacts/
Expand All @@ -166,7 +166,7 @@ jobs:
mkdir -p dist/
mv artifacts/${{ github.ref_name }}_${{ matrix.browser_target }}_mv${{ matrix.manifest_version }}.zip dist/firefox_${{ github.ref_name }}_mv${{ matrix.manifest_version }}.xpi

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: "firefox_${{ github.ref_name }}_mv${{ matrix.manifest_version }}.xpi"
path: "dist/*.xpi"
Expand All @@ -186,9 +186,9 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: "firefox_${{ github.ref_name }}_mv${{ matrix.manifest_version }}.xpi"
path: artifacts/
Expand All @@ -199,7 +199,7 @@ jobs:

- name: Sign extension
id: web-ext-sign
uses: kewisch/action-web-ext@v1
uses: kewisch/action-web-ext@v2
with:
cmd: sign
source: "artifacts/firefox_${{ github.ref_name }}_mv${{ matrix.manifest_version }}.xpi"
Expand All @@ -215,7 +215,7 @@ jobs:
mv ${{ steps.web-ext-sign.outputs.target }} dist/firefox_${{ github.ref_name }}_mv${{ matrix.manifest_version }}_signed.xpi
echo "success=1" >> "$GITHUB_OUTPUT"

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
if: steps.firefox-mv.outputs.success
with:
name: "firefox_${{ github.ref_name }}_mv${{ matrix.manifest_version }}_signed.xpi"
Expand All @@ -232,11 +232,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: "${{ github.ref_name }}_chrome_mv${{ matrix.manifest_version }}.zip" # <--- "chrome" hardcoded, uses .zip instead of .xpi
path: artifacts/
Expand Down Expand Up @@ -264,9 +264,9 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: "${{ github.ref_name }}_chrome_mv${{ matrix.manifest_version }}.zip" # <--- "chrome" hardcoded, uses .zip instead of .xpi
path: artifacts/
Expand All @@ -288,7 +288,7 @@ jobs:
runs-on: ubuntu-latest
needs: [ release, pack-chrome, pack-firefox, publish-firefox, publish-edge ]
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
path: artifacts/

Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
vitest:
name: Vitest
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7

- name: Setup node
uses: actions/setup-node@v7
with:
node-version: 24

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test
Loading
Loading