Skip to content

Bump @types/node from 20.4.8 to 20.5.4 in /src/UnityWebBrowser.Pages #328

Bump @types/node from 20.4.8 to 20.5.4 in /src/UnityWebBrowser.Pages

Bump @types/node from 20.4.8 to 20.5.4 in /src/UnityWebBrowser.Pages #328

Workflow file for this run

name: Build
on:
push
jobs:
#This job builds the Unity project
build-unity:
name: 'Build-Unity'
runs-on: ubuntu-20.04
steps:
#Restore
- uses: actions/checkout@v3
with:
path: 'UnityWebBrowserSource/'
#Setup the Environment
- uses: actions/setup-dotnet@v2
name: Setup .NET
with:
dotnet-version: '6.0.x'
#Build shared
- name: Build Shared
shell: pwsh
run: '& ./publish-shared.ps1'
working-directory: UnityWebBrowserSource/src/DevScripts/
#Restore Unity's cache
- name: Unity Cache
uses: actions/cache@v3
with:
path: UnityWebBrowserSource/src/UnityWebBrowser.UnityProject/Library
key: Cache-Unity
#Build the Unity project
- name: Build Unity
uses: game-ci/[email protected]
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
with:
projectPath: 'UnityWebBrowserSource/src/UnityWebBrowser.UnityProject/'
targetPlatform: StandaloneLinux64
buildsPath: 'UnityWebBrowserSource/src/UnityWebBrowser.UnityProject/Builds'
versioning: Tag
# Builds the 'Pages' project
build-pages:
name: 'Build-Pages'
runs-on: ubuntu-20.04
steps:
#Checkout
- uses: actions/checkout@v3
with:
path: 'UnityWebBrowserSource/'
#Restore the cache for pages
- name: Pages Cache
uses: actions/cache@v3
with:
path: UnityWebBrowserSource/src/UnityWebBrowser.Pages/node_modules
key: Cache-Pages
#Build Pages
- name: Build Pages
shell: pwsh
run: '& ./build-pages.ps1'
working-directory: UnityWebBrowserSource/src/DevScripts/
#Builds the CEF Engine
build-engine-cef:
name: 'Build-Engine-Cef'
runs-on: ubuntu-20.04
steps:
#Checkout
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: 'recursive'
path: 'UnityWebBrowserSource/'
#Setup the Environment
- uses: actions/setup-dotnet@v2
name: Setup .NET
with:
dotnet-version: '6.0.x'
#Download CEF (Linux)
- name: Download CEF (Linux)
shell: pwsh
run: '& ./download-cef-linux.ps1'
working-directory: UnityWebBrowserSource/src/DevScripts/
#Download CEF (Windows)
- name: Download CEF (Windows)
shell: pwsh
run: '& ./download-cef-windows.ps1'
working-directory: UnityWebBrowserSource/src/DevScripts/
#Build CEF Engine (Linux)
- name: Build CEF Engine (Linux)
shell: pwsh
run: '& ./publish-cef-engine-linux.ps1'
working-directory: UnityWebBrowserSource/src/DevScripts/
#Build CEF Engine (Linux)
- name: Build CEF Engine (Windows)
shell: pwsh
run: '& ./publish-cef-engine-windows.ps1'
working-directory: UnityWebBrowserSource/src/DevScripts/