Build and Zip Chrome Extension #7
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 and Zip Chrome Extension | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn | |
- name: Build Chrome | |
run: yarn build:chrome | |
- name: Upload Chrome extension artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: vite-web-extension-chrome | |
path: dist_chrome |