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

strategy:
matrix:
node-version: [16.x]
node-version: [24.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: "npm"

- name: Install Dependencies
run: npm ci

- name: Build
run: |
npm install
npm run build
run: npm run build

- name: Check Circular Dependencies
run: |
Expand Down
19 changes: 12 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,23 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [24.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: "npm"

- name: Lint
run: |
npm ci
- name: Install Dependencies
run: npm ci

- name: Run ESLint
run:
npm run lint
npm run checkformat

- name: Run Prettier
run: npm run checkformat
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,20 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [24.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- uses: actions/setup-node@v3
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: "npm"

- name: Build and compress
run: |
TAG=${{ github.ref_name }}
npm install
npm ci
npm run build
(cd dist && zip -r ../extension-${TAG}-chrome.zip .)
rm -rf dist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/submit_chrome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Download Release Assets
uses: robinraju/release-downloader@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/submit_firefox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Compress Repository
run: |
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,27 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [24.x]

steps:
- name: Checkout Branch
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
fetch-depth: 0

- uses: actions/setup-node@v3
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: "npm"

- name: Update manifest/package.json version
run: |
./scripts/version-check.sh
jq '.version = $ENV.VERSION' manifest.json > tmp && mv tmp manifest.json
jq '.version = $ENV.VERSION' package.json > tmp && mv tmp package.json
jq '.version = $ENV.VERSION | .packages."".version = $ENV.VERSION' package-lock.json > tmp && mv tmp package-lock.json
npm install
npm ci
npx prettier --write manifest.json package.json package-lock.json
env:
VERSION: ${{ inputs.version }}
Expand Down