ci: create releases on tags, builds on push and PR

This commit is contained in:
xenticore
2025-03-21 14:03:15 -04:00
parent 568b2eaabd
commit 1a3c174c49
2 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: debian-latest
steps:
- name: Check out repository
uses: actions/checkout@v4.1.2
- name: Install dependencies
run: bun install
- name: Build project
run: bun run build
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: tf2wikipricing.user.js
path: |
dist/userscript/tf2wikipricing.user.js