Skip to content

chore: add github workflows #1

chore: add github workflows

chore: add github workflows #1

Workflow file for this run

name: CI
on:
push:
tags:
- "*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run build
run: pnpm run build
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
dist/main.js
dist/manifest.json