Skip to content

Fix and refactor extension. #16

Fix and refactor extension.

Fix and refactor extension. #16

Workflow file for this run

name: Builds, signs and publishes the firefox extension
on:
push:
branches:
- main
paths:
- extension-dist/manifest.json
jobs:
publish-to-amo:
name: Build and publish the extension
runs-on: ubuntu-latest
steps:
- name: Pull and checkout source
uses: actions/checkout@main
- uses: actions/setup-node@v1
with:
node-version: 18
- name: Build
run: |
npm ci
npm run build -- -n tatoeba-lookup.zip
- name: Upload & release
uses: yayuyokitano/[email protected]
with:
api_key: ${{ secrets.AMO_API_KEY }}
api_secret: ${{ secrets.AMO_API_SECRET }}
guid: '{f9090a57-ca98-4d61-8402-f2bc3221214c}'
xpi_path: web-ext-artifacts/tatoeba-lookup.zip
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: web-ext-artifacts
path: |
web-ext-artifacts