From c6d86b783d8f69fb458da5c07e6a66ea16862cc6 Mon Sep 17 00:00:00 2001 From: Hangjit Rai Date: Mon, 14 Oct 2024 10:40:46 +1100 Subject: [PATCH] cleanup --- .github/workflows/nodejs.yml | 25 ++++++++++++------------- .github/workflows/release.yml | 6 +++--- distribution/manifest_v3.json | 9 +++++++-- 3 files changed, 22 insertions(+), 18 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index c7fa296..550616c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -3,7 +3,6 @@ name: Node CI on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest strategy: @@ -11,15 +10,15 @@ jobs: node-version: [18.x] steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: npm install, build, and test - run: | - npm install - npm run build --if-present - npm test - env: - CI: true + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm test + env: + CI: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 226f0aa..ed21341 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: version: ${{ steps.daily-version.outputs.version }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 20 - run: yarn install @@ -43,7 +43,7 @@ jobs: - firefox - chrome steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: yarn install --frozen-lockfile - name: Use Node.js ${{ matrix.node-version }} @@ -75,7 +75,7 @@ jobs: - chrome runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: yarn install - run: yarn build - name: Update extension’s meta diff --git a/distribution/manifest_v3.json b/distribution/manifest_v3.json index 596e1fc..36fd150 100644 --- a/distribution/manifest_v3.json +++ b/distribution/manifest_v3.json @@ -34,5 +34,10 @@ "default_title": "Auto-capitalise sentence", "default_popup": "popup/settings.html" }, - "content_security_policy": {} -} \ No newline at end of file + "content_security_policy": {}, + "browser_specific_settings": { + "gecko": { + "id": "680e06ed-65ed-4e11-a9c0-0e6f80b9a347" + } + } +}