Skip to content

refactor: update option page theme #815

refactor: update option page theme

refactor: update option page theme #815

Workflow file for this run

# build.yml
# checks and test build on push and pull request to master branch
# creates a pre-release on push to master
name: build
on:
push:
branches:
- "master"
pull_request:
branches:
- "master"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
cache: "yarn"
- name: Install dependencies
run: |
yarn install
- name: Code Format checks
run: |
yarn run prettier:check
- name: Build
run: |
yarn run build
- name: zip to hypercrx.zip
run: zip release/hypercrx.zip -r build/*
- name: Check file existence
id: check_files
uses: andstor/file-existence-action@v1
with:
files: "release/hypercrx.crx"
- name: Pre-Release
if: ${{ steps.check_files.outputs.files_exists == 'true' && github.event_name == 'push' }}
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
release/hypercrx.*