0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-13 04:50:46 -05:00
build/.gitea/workflows/build.yaml

42 lines
829 B
YAML
Raw Normal View History

2024-02-29 21:44:53 -05:00
name: SPT Release Build
2024-02-29 21:25:58 -05:00
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-server:
2024-02-29 21:25:58 -05:00
runs-on: ubuntu-latest
2024-03-01 11:12:38 -05:00
container:
image: refringe/spt-build-environment:1.0.3
2024-02-29 21:25:58 -05:00
steps:
2024-03-01 11:12:38 -05:00
- name: Checkout Server Project
uses: actions/checkout@v4
with:
repository: 'refringe/Server'
ref: '3.8.0-BE'
fetch-depth: 0
lfs: true
- name: Checkout Server Project
uses: actions/setup-node@v4
with:
node-version: '20.10'
- name: Install Dependencies
run: npm install
working-directory: ./project
- name: Build Project
run: npm run build
working-directory: ./project
- name: Archive Build
uses: actions/upload-artifact@v4
with:
name: built-artifacts
path: build