Skip to content

Commit

Permalink
ci: add build workflow (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter authored May 28, 2024
1 parent 8d8f23a commit 98ee5ca
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build

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

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'

- name: Setup pnpm
uses: pnpm/action-setup@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build and zip
run: |
pnpm zip
pnpm zip:firefox

0 comments on commit 98ee5ca

Please sign in to comment.