mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-12 22:30: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:
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user