Skip to content

update to wabac.js 2.19.3, adds rewriting 'origin-agent-cluster' header #58

update to wabac.js 2.19.3, adds rewriting 'origin-agent-cluster' header

update to wabac.js 2.19.3, adds rewriting 'origin-agent-cluster' header #58

Workflow file for this run

name: Build Extension Zip
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'yarn'
- name: Yarn Install
run: yarn install --frozen-lockfile
- name: Yarn Lint
run: yarn run lint
- name: Update Ruffle
run: yarn run update-ruffle
- name: Yarn Build
run: yarn run build
- name: Get Package Version
id: package-version
uses: martinbeentjes/npm-get-version-action@main
- name: Create ZIP for Extension
run: |
cd dist/ext
zip ../../ArchiveWeb.page-${{ steps.package-version.outputs.current-version }}-extension.zip -r ./
- name: Upload Extension ZIP to GitHub
uses: softprops/action-gh-release@v1
with:
files: ArchiveWeb.page-${{ steps.package-version.outputs.current-version }}-extension.zip
tag_name: v${{ steps.package-version.outputs.current-version }}
fail_on_unmatched_files: true
draft: true
- name: Upload Extension ZIP to Chrome Web Store
uses: mnao305/[email protected]
with:
file-path: ArchiveWeb.page-${{ steps.package-version.outputs.current-version }}-extension.zip
extension-id: fpeoodllldobpkbkabpblcfaogecpndd
client-id: ${{ secrets.CHROME_WEBSTORE_CLIENT_ID }}
client-secret: ${{ secrets.CHROME_WEBSTORE_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_WEBSTORE_REFRESH_TOKEN }}
publish: false
glob: false