mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-12 16:50:45 -05:00
Build Updates
This commit is contained in:
parent
1247f404dd
commit
26d1105f55
@ -1,4 +1,4 @@
|
||||
name: Build
|
||||
name: SPT Release Build
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -7,27 +7,30 @@ on:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
build-server:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Check-out Build Project
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18.15.0'
|
||||
|
||||
- name: Install dependencies
|
||||
- name: Install Node dependencies
|
||||
run: npm install
|
||||
working-directory: ./project
|
||||
|
||||
- name: Build
|
||||
- name: Build Server Project
|
||||
run: npm run build
|
||||
working-directory: ./project
|
||||
|
||||
- name: Archive production artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
- name: Archive Server Build
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: built-artifacts
|
||||
path: build
|
||||
|
Loading…
x
Reference in New Issue
Block a user