|
70 | 70 | with: |
71 | 71 | path: '**/node_modules' |
72 | 72 | key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} |
| 73 | + - name: Set up Node.js |
| 74 | + uses: actions/setup-node@v4 |
| 75 | + with: |
| 76 | + node-version: 18 |
73 | 77 | - name: Install yarn dependencies |
74 | 78 | run: yarn |
75 | 79 |
|
|
78 | 82 |
|
79 | 83 | - name: Upload the package to Chrome web store |
80 | 84 | if: ${{ github.event.inputs.testMode == 'false' }} |
81 | | - run: npx chrome-webstore-upload-cli@2 upload --source chrome_extension.zip --extension-id $EXTENSION_ID --auto-publish |
| 85 | + run: npx chrome-webstore-upload-cli@3 upload --source chrome_extension.zip --extension-id $EXTENSION_ID --auto-publish |
82 | 86 | env: |
83 | 87 | EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }} |
84 | 88 | CLIENT_ID: ${{secrets.CHROME_EXTENSION_CLIENT_ID}} |
@@ -106,10 +110,10 @@ jobs: |
106 | 110 | run: yarn build:firefox |
107 | 111 | - name: Upload the package to Firefox web store |
108 | 112 | if: ${{ github.event.inputs.testMode == 'false' }} |
109 | | - uses: yayuyokitano/firefox-addon@v0.0.6-alpha |
| 113 | + uses: wdzeng/firefox-addon@v1 |
110 | 114 | with: |
111 | | - api_key: ${{ secrets.WEB_EXT_API_KEY }} |
112 | | - api_secret: ${{ secrets.WEB_EXT_API_SECRET }} |
113 | | - guid: '{f8793186-e9da-4332-aa1e-dc3d9f7bb04c}' |
114 | | - xpi_path: firefox_extension.zip |
115 | | - src_path: source_code.zip |
| 115 | + jwt-issuer: ${{ secrets.WEB_EXT_API_KEY }} |
| 116 | + jwt-secret: ${{ secrets.WEB_EXT_API_SECRET }} |
| 117 | + addon-guid: '{f8793186-e9da-4332-aa1e-dc3d9f7bb04c}' |
| 118 | + xpi-path: firefox_extension.zip |
| 119 | + source-file-path: source_code.zip |
0 commit comments