Skip to content
Open
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
21 changes: 10 additions & 11 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: "14"
- run: npm ci
- run: npm run build --if-present
# - run: npm run zip --if-present

- id: packExtensionDir
uses: cardinalby/webext-buildtools-pack-extension-dir-action@v1
with:
extensionDir: '.build/'
zipFilePath: 'quick-javascript-switcher.zip'
extensionDir: ".build/"
zipFilePath: "quick-javascript-switcher.zip"

- id: buildCrx
uses: cardinalby/webext-buildtools-chrome-crx-action@v2
with:
zipFilePath: 'quick-javascript-switcher.zip'
crxFilePath: 'quick-javascript-switcher.crx'
zipFilePath: "quick-javascript-switcher.zip"
crxFilePath: "quick-javascript-switcher.crx"
privateKey: ${{ secrets.CHROME_CRX_PRIVATE_KEY }}
updateXmlPath: 'update.xml'
updateXmlCodebaseUrl: 'https://github.com/maximelebreton/quick-javascript-switcher/releases/download/latest/quick-javascript-switcher.crx'
updateXmlPath: "update.xml"
updateXmlCodebaseUrl: "https://github.com/maximelebreton/quick-javascript-switcher/releases/download/latest/quick-javascript-switcher.crx"

- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand All @@ -41,7 +41,6 @@ jobs:
quick-javascript-switcher.zip
quick-javascript-switcher.crx


# - name: Chrome Extension upload & publish
# uses: Passiverecords/[email protected]
# with:
Expand All @@ -50,4 +49,4 @@ jobs:
# refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}
# file-name: 'quick-javascript-switcher.zip'
# app-id: 'geddoclleiomckbhadiaipdggiiccfje'
# publish: false
# publish: false
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.git/
dist/
src/assets/

package-lock.json
pnpm-lock.yaml
package.json
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,35 @@
# qjs

## Project setup

```
npm install
```

### Compiles and hot-reloads for development

```
npm run serve
```

### Compiles and minifies for production

```
npm run build
```

### Run your unit tests

```
npm run test:unit
```

### Lints and fixes files

```
npm run lint
```

### Customize configuration

See [Configuration Reference](https://cli.vuejs.org/config/).
Loading