Skip to content

Commit

Permalink
feat: added workflow to ensure the web-extension is building
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroerta committed May 27, 2022
1 parent e8d212d commit c973a3a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build-web-extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build Web Extension

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: '16.x'

- name: Install yarn
run: npm install -g yarn

- name: Bootstrap packages
run: yarn reset

- name: Install Web Extension dependencies
run: yarn init:devtool

- name: Build Web Extension
uses: yarn build:devtool

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"clean": "lerna clean --yes",
"build": "lerna run build",
"build:docs": "yarn --cwd=docs build",
"build:devtool": "yarn --cwd=devtool build",
"watch": "lerna run watch",
"reset": "yarn clean && yarn && lerna bootstrap && yarn build",
"init:docs": "yarn --cwd=docs && ts-node scripts/bootstrap-app.ts docs",
Expand Down

0 comments on commit c973a3a

Please sign in to comment.