Skip to content

Deploy to Google Store #23

Deploy to Google Store

Deploy to Google Store #23

Workflow file for this run

name: Deploy to Google Store
on: workflow_dispatch
jobs:
test:
name: E2E Tests
runs-on: rows-fe-default
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/install-dependencies
with:
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run E2E tests
run: node node_modules/puppeteer/install.mjs && npm run test:e2e
build-and-deploy-extension:
name: Build & deploy extension
needs: test
runs-on: rows-fe-default
steps:
- uses: actions/checkout@v1
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/install-dependencies
with:
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build chrome extension dist files
run: |
npm run build
cd dist
zip -r ../chrome-extension-${{ github.sha }}.zip *
- name: Upload & release
uses: mnao305/[email protected]
with:
file-path: ./chrome-extension-${{ github.sha }}.zip
extension-id: ${{ secrets.EXTENSION_ID }}
client-id: ${{ secrets.CLIENT_ID }}
client-secret: ${{ secrets.CLIENT_SECRET }}
refresh-token: ${{ secrets.REFRESH_TOKEN }}
publish: true