mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 03:30:45 -05:00
39 lines
762 B
YAML
39 lines
762 B
YAML
name: SPT Release Build
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build-server:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Check-out Server Project
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: 'https://dev.sp-tarkov.com/SPT-AKI/Server.git'
|
|
fetch-depth: 0
|
|
lfs: true
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '18.15.0'
|
|
|
|
- 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
|