0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-13 03:30:45 -05:00

Build Updates

This commit is contained in:
Refringe 2024-02-29 21:44:53 -05:00
parent 1247f404dd
commit 26d1105f55
No known key found for this signature in database
GPG Key ID: DA8524051241DD36

View File

@ -1,4 +1,4 @@
name: Build name: SPT Release Build
on: on:
push: push:
@ -7,27 +7,30 @@ on:
branches: [ main ] branches: [ main ]
jobs: jobs:
build: build-server:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - name: Check-out Build Project
- uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v2 uses: actions/setup-node@v4
with: with:
node-version: '18.15.0' node-version: '18.15.0'
- name: Install dependencies - name: Install Node dependencies
run: npm install run: npm install
working-directory: ./project
- name: Build - name: Build Server Project
run: npm run build run: npm run build
working-directory: ./project
- name: Archive production artifacts - name: Archive Server Build
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
with: with:
name: built-artifacts name: built-artifacts
path: build path: build