Rework reactions panel #264
Workflow file for this run
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: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: "Build (${{ matrix.browser_target }} MV${{ matrix.manifest_version }})" | |
strategy: | |
matrix: | |
manifest_version: [ 2, 3 ] | |
browser_target: [ "chrome", "firefox" ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Setup jq | |
run: sudo apt-get install -y jq | |
- name: Prepare env file | |
run: cp .env.example .env.local | |
- name: Install dependencies | |
run: npm install | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Update version | |
run: ./tag-version.sh 0.0.0 | |
- name: Build extension | |
run: npm run build | |
env: | |
MANIFEST_VERSION: ${{ matrix.manifest_version }} | |
BROWSER_TARGET: ${{ matrix.browser_target }} |