fix(google): filter "Discussions and forums" #469
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 extension | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- .github/** | |
- safari-icons/** | |
- web-store-assets/** | |
- website/** | |
- LICENSE.txt | |
- README.md | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- .github/** | |
- safari-icons/** | |
- web-store-assets/** | |
- website/** | |
- LICENSE.txt | |
- README.md | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build extension | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: yarn | |
- name: Install packages | |
run: yarn install --immutable | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
run: yarn test | |
- name: Build extension | |
run: yarn build-all | |
env: | |
DROPBOX_API_KEY: ${{ secrets.DROPBOX_API_KEY }} | |
DROPBOX_API_SECRET: ${{ secrets.DROPBOX_API_SECRET }} | |
GOOGLE_DRIVE_API_KEY: ${{ secrets.GOOGLE_DRIVE_API_KEY }} | |
GOOGLE_DRIVE_API_SECRET: ${{ secrets.GOOGLE_DRIVE_API_SECRET }} | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: dist | |
path: dist/ |