You've already forked tf2wikipricing
ci: create releases on tags, builds on push and PR
This commit is contained in:
21
.gitea/workflows/build.yaml
Normal file
21
.gitea/workflows/build.yaml
Normal 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
|
||||
Reference in New Issue
Block a user