Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Github Action to Deploy to Web Stores #576

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
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: 21 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Submit to Web Store'
on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
- name: Install dependencies
run: npm install
- name: Build package
run: npm run package
- name: Zip package
run: npm run zip
- name: Browser Plugin Publish
uses: plasmo-corp/bpp@v1
with:
artifact: './quickjira.zip'
keys: ${{ secrets.SUBMIT_KEYS }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
release_*
node_modules/
dist/
*.zip
14 changes: 5 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
"scripts": {
"prepare": "husky install",
"prebuild": "rm -rf dist",
"build": "tsc",
"postbuild": "rsync -av --exclude='js' src/ dist",
"tslint": "tslint -p tsconfig.json '{src,test}/**/*.ts'",
"stylelint": "stylelint --allow-empty-input 'src/**/*.css'",
"lint": "npm run tslint && npm run stylelint",
"package": "rsync -av js manifest.json css html images background.html _locales dist",
"zip": "cd dist; zip -r ../quickjira.zip .; cd -",
"stylelint": "stylelint --allow-empty-input 'css/*.css'",
"lint": "npm run stylelint",
"prerelease": "npm run test && npm run build",
"release": "standard-version",
"pretest": "npm run lint",
Expand All @@ -34,9 +33,6 @@
"prettier": "^2.5.1",
"standard-version": "^9.3.2",
"stylelint": "^14.5.2",
"stylelint-config-recommended": "^7.0.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.5.5"
"stylelint-config-recommended": "^7.0.0"
}
}
18 changes: 0 additions & 18 deletions tsconfig.json

This file was deleted.