Files
tf2wikipricing/.gitea/workflows/build.yaml
xenticore 4b8917de19 ci: rework actions
- build now only runs on non-versioned tags and PRs
- release runs on versioned tags only
2025-03-21 14:31:45 -04:00

25 lines
492 B
YAML

name: CI
on:
push:
tags-ignore:
- 'v*'
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