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

test and show the listed directories #68

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
28 changes: 27 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,30 @@ jobs:
${{ runner.OS }}-
- run: npm ci
- run: npm run build
- run: npm run test
- run: npm run test
- name: Archive build files for store uploads
uses: actions/upload-artifact@v2
with:
name: dist-zip
path: dist-zip/dist.zip

deploy-chrome-store:
runs-on: ubuntu-latest
needs: build
# if: (github.event_name == 'create' && github.event.ref_type == 'tag') || (github.event_name == 'release' && github.event.action == 'published')
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '14'
- uses: actions/download-artifact@v2
with:
name: dist-zip
path: .
- run: npm run deploy-chrome
env:
SOURCE_ZIP: dist.zip
EXTENSION_ID: ${{ secrets.GOOGLE_EXTENSION_ID }}
CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
REFRESH_TOKEN: ${{ secrets.GOOGLE_REFRESH_TOKEN }}