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

Update build.yaml and Dockerfile.node

This commit is contained in:
Refringe 2024-03-04 22:17:07 -05:00
parent 7c1b2e521d
commit 83e5a2ba2d
No known key found for this signature in database
GPG Key ID: DA8524051241DD36
2 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ jobs:
if: needs.check-tag-exists.outputs.proceed == 'true' if: needs.check-tag-exists.outputs.proceed == 'true'
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: refringe/spt-build-server:0.0.2 image: refringe/spt-build-server:0.0.3
steps: steps:
- name: Clone - name: Clone
run: | run: |
@ -117,7 +117,7 @@ jobs:
BUILD_TYPE="${{ steps.build-type.outputs.build_type }}" BUILD_TYPE="${{ steps.build-type.outputs.build_type }}"
echo "Running build for $BUILD_TYPE" echo "Running build for $BUILD_TYPE"
npm run build:$BUILD_TYPE npm run build:$BUILD_TYPE
echo "\nBuilt!\n" printf "\nBuilt!\n\n"
tree -C /workspace/refringe/Build/server/project/build tree -C /workspace/refringe/Build/server/project/build
shell: bash shell: bash
@ -201,7 +201,7 @@ jobs:
run: | run: |
cd /workspace/refringe/Build/modules/project cd /workspace/refringe/Build/modules/project
dotnet build dotnet build
echo "\nBuilt!\n" printf "\nBuilt!\n\n"
tree /workspace/refringe/Build/modules/project/Build tree /workspace/refringe/Build/modules/project/Build
shell: bash shell: bash

View File

@ -7,6 +7,6 @@ FROM node:20.10.0
# - zstd (caching action dependancy) # - zstd (caching action dependancy)
# - tree (pretty print build directory structure) # - tree (pretty print build directory structure)
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y git git-lfs zstd && \ apt-get install -y git git-lfs zstd tree && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*