fix(deps): update dependency webextension-polyfill to ^0.12.0 #662
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
env: | |
FORCE_COLOR: 3 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '15.2.0' | |
- run: npm ci | |
- run: npm run prettier | |
- run: npm run typecheck | |
- run: npm run eslint | |
- run: npm run build | |
# Upload a build for this branch to download and test | |
- run: zip -r svg-screenshots-chrome.zip dist | |
if: always() | |
- name: Upload Chrome artifact | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: svg-screenshots-chrome | |
path: svg-screenshots-chrome.zip | |
- run: zip -r svg-screenshots-firefox.xpi dist | |
if: always() | |
- name: Upload Firefox artifact | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: svg-screenshots-firefox | |
path: svg-screenshots-firefox.xpi | |
# Release to Chrome and Firefox store on release branch | |
- name: release | |
if: github.event_name == 'push' && github.repository_owner == 'felixfbecker' && github.ref == 'refs/heads/release' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Google web store | |
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} | |
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }} | |
GOOGLE_REFRESH_TOKEN: ${{ secrets.GOOGLE_REFRESH_TOKEN }} | |
# Firefox addons store | |
FIREFOX_EMAIL: ${{ secrets.FIREFOX_EMAIL }} | |
FIREFOX_PASSWORD: ${{ secrets.FIREFOX_PASSWORD }} | |
FIREFOX_TOTP_SECRET: ${{ secrets.FIREFOX_TOTP_SECRET }} | |
run: npm run semantic-release |