Skip to content

Commit

Permalink
chore: add github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodbyeNJN committed Jun 6, 2024
1 parent 4cfdbc5 commit 59adb39
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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

0 comments on commit 59adb39

Please sign in to comment.