Skip to content

Commit c445a65

Browse files
authored
Update dependencies (#130)
1 parent 655df9f commit c445a65

File tree

5 files changed

+2300
-753
lines changed

5 files changed

+2300
-753
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,29 @@ jobs:
88
Format:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
1313
with:
14-
node-version-file: .nvmrc
14+
node-version-file: package.json
1515
- run: npm ci
1616
- run: npx prettier . --check
1717

1818
Lint:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
22-
- uses: actions/setup-node@v3
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
2323
with:
24-
node-version-file: .nvmrc
24+
node-version-file: package.json
2525
- run: npm ci
2626
- run: npm run lint
2727

2828
Build:
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v3
32-
- uses: actions/setup-node@v3
31+
- uses: actions/checkout@v4
32+
- uses: actions/setup-node@v4
3333
with:
34-
node-version-file: .nvmrc
34+
node-version-file: package.json
3535
- run: npm ci
3636
- run: npm run build

.github/workflows/release.yml

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ env:
44

55
# FILE GENERATED WITH: npx ghat fregante/ghatemplates/webext
66
# SOURCE: https://github.com/fregante/ghatemplates
7-
# OPTIONS: {"exclude":["on.schedule"],"set":["jobs.Submit.strategy.matrix.command=[\"Chrome\"]"]}
7+
# OPTIONS: {"exclude":["jobs.Firefox"]}
88

99
name: Release
1010
on:
@@ -15,10 +15,10 @@ jobs:
1515
created: ${{ env.DAILY_VERSION_CREATED }}
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
19-
- uses: actions/setup-node@v3
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-node@v4
2020
with:
21-
node-version-file: .nvmrc
21+
node-version-file: package.json
2222
cache: npm
2323
- run: npm ci
2424
- name: Test and build
@@ -30,7 +30,7 @@ jobs:
3030
run: npx dot-json@1 "$DIRECTORY/manifest.json" version "$DAILY_VERSION"
3131
- name: Ready for "submit" jobs
3232
if: env.DAILY_VERSION_CREATED
33-
uses: actions/upload-artifact@v3
33+
uses: actions/upload-artifact@v4
3434
with:
3535
path: ${{ env.DIRECTORY }}
3636
- name: Create release
@@ -42,29 +42,16 @@ jobs:
4242
FILENAME="$PROJECT_NAME-$DAILY_VERSION-for-local-testing-only.zip"
4343
zip -r "$FILENAME" ./*
4444
gh release create "$DAILY_VERSION" --generate-notes "$FILENAME"
45-
Submit:
46-
needs: Version
45+
Chrome:
4746
if: needs.Version.outputs.created
48-
strategy:
49-
fail-fast: false
50-
matrix:
51-
command:
52-
- Chrome
53-
environment: ${{ matrix.command }}
47+
needs: Version
48+
name: Submit (Chrome)
49+
environment: Chrome
5450
runs-on: ubuntu-latest
5551
steps:
56-
- uses: actions/download-artifact@v3
57-
- name: Submit to Mozilla
58-
if: matrix.command == 'Firefox'
59-
working-directory: artifact
60-
run: npx web-ext-submit@7
61-
env:
62-
WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }}
63-
WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }}
64-
- name: Submit to Google
65-
if: matrix.command == 'Chrome'
52+
- uses: actions/download-artifact@v4
53+
- run: npx chrome-webstore-upload-cli@3
6654
working-directory: artifact
67-
run: npx chrome-webstore-upload-cli@2 upload --auto-publish
6855
env:
6956
EXTENSION_ID: ${{ secrets.EXTENSION_ID }}
7057
CLIENT_ID: ${{ secrets.CLIENT_ID }}

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)