You've already forked tf2wikipricing
31 lines
591 B
YAML
31 lines
591 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
push:
|
|
branches:
|
|
- main
|
|
tags-ignore:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: debian-latest
|
|
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v4.1.2
|
|
- name: Install dependencies
|
|
run: bun install
|
|
- name: Test project
|
|
run: bun test
|
|
- 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 |