We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c192220 commit 4a53996Copy full SHA for 4a53996
.github/workflows/build_and_publish_chrome.yml
@@ -0,0 +1,34 @@
1
+name: Publish
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '*'
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - uses: actions/setup-node@v2
14
+ with:
15
+ node-version: 20
16
17
+ - name: Install dependencies
18
+ run: npm install
19
20
+ - name: Build the extension
21
+ run: npm run build:chrome
22
23
+ - name: Put the extension into a zip file
24
+ run: zip -r release.zip dist/chrome
25
26
+ - name: Upload to Chrome Web Store
27
+ uses: mobilefirstllc/cws-publish@latest
28
29
+ action: 'upload'
30
+ client_id: ${{ secrets.CLIENT }}
31
+ client_secret: ${{ secrets.SECRET }}
32
+ refresh_token: ${{ secrets.TOKEN }}
33
+ extension_id: ${{ secrets.EXTENSION_ID }}
34
+ zip_file: 'release.zip'
0 commit comments