Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/changesets-update-changelogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,11 @@ jobs:
- name: Install Dependencies
run: npm install

- name: Obtain the branch indicating the UE version
id: extract-branch
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT

- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
title: '[Bot] Update ${{ steps.extract-branch.outputs.branch }} NPM Changelogs'
title: '[Bot] Update ${{ github.ref_name }} NPM Changelogs'
commit: 'Updated NPM changelogs'

49 changes: 0 additions & 49 deletions .github/workflows/container-images.yml

This file was deleted.

26 changes: 17 additions & 9 deletions .github/workflows/create-gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: Releases

on:
push:
branches: ['UE5.5']
paths: ['RELEASE_VERSION']
branches:
- 'UE*'
paths:
- 'RELEASE_VERSION'

workflow_dispatch:
inputs:
Expand Down Expand Up @@ -47,31 +49,37 @@ jobs:

- name: Get node version
id: get_node_version
run: echo "node_version=$(cat NODE_VERSION)" >> $Env:GITHUB_OUTPUT
run: echo "node_version=$(cat NODE_VERSION)" >> $GITHUB_OUTPUT

- uses: actions/setup-node@v3
with:
node-version: ${{ steps.get_node_version.outputs.node_version }}
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies.
run: npm install

- name: Build common library
working-directory: ./Common
run: npm install && npm run build
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point!

run: npm run build

- name: Build frontend library
working-directory: ./Frontend/library
run: npm install && npm run build
run: npm run build

- name: Build frontend ui-library
working-directory: ./Frontend/ui-library
run: npm install && npm run build
run: npm run build

- name: Install implementations/typescript deps
- name: Build typescript implementation
working-directory: ./Frontend/implementations/typescript
run: npm install && npm run build
run: npm run build

- name: Move all content into output directory for archiving
run: items=(*) && mkdir PixelStreamingInfrastructure-${{ github.ref_name }}-${{ steps.getversion.outputs.version }} && mv ${items[*]} PixelStreamingInfrastructure-${{ github.ref_name }}-${{ steps.getversion.outputs.version }}/
run: |
items=(*)
mkdir PixelStreamingInfrastructure-${{ github.ref_name }}-${{ steps.getversion.outputs.version }}
mv ${items[*]} PixelStreamingInfrastructure-${{ github.ref_name }}-${{ steps.getversion.outputs.version }}/

- name: Archive Release tar.gz
uses: thedoctor0/zip-release@0.7.1
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/healthcheck-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ name: Check health of frontend

on:
workflow_dispatch:
push:
paths:
- ".github/workflows/healthcheck-frontend.yml"
- "Common/**"
- "Frontend/**"
- "Signalling/**"
- "SignallingWebServer/**"
- "Extras/**"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, so we are saying only do healthcheck on PR now. I think that makes sense.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. Generally the only way things should get into the repo is via PR and we should only merge the PR if the actions pass. So there should be no reason to do it on push.

pull_request:
paths:
- ".github/workflows/healthcheck-frontend.yml"
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/healthcheck-image-sfu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: Check health of SFU docker image

on:
workflow_dispatch:
push:
paths:
- ".github/workflow/healthcheck-image-sfu.yml"
- "SFU/**"
pull_request:
paths:
- ".github/workflow/healthcheck-image-sfu.yml"
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/healthcheck-image-wilbur.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: Check health of wilbur docker image

on:
workflow_dispatch:
push:
paths:
- ".github/workflows/healthcheck-image-wilbur.yml"
- "SignallingWebServer/**"
pull_request:
paths:
- ".github/workflows/healthcheck-image-wilbur.yml"
Expand Down
40 changes: 17 additions & 23 deletions .github/workflows/healthcheck-libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@ name: Check health of libraries

on:
workflow_dispatch:
push:
paths:
- ".github/workflows/healthcheck-libraries.yml"
- "Common/**"
- "Signalling/**"
- "SignallingWebServer/**"
- "Frontend/library/**"
- "Frontend/ui-library/**"
- "Frontend/implementations/typescript/**"
pull_request:
paths:
- ".github/workflows/healthcheck-libraries.yml"
Expand Down Expand Up @@ -38,30 +29,33 @@ jobs:
node-version: "${{ steps.get_node_version.outputs.node_version }}"
registry-url: 'https://registry.npmjs.org'

- name: Clean build and lint checks on common library
- name: Install dependencies
run: npm install

- name: Build and lint checks on common library
working-directory: Common
run: npm install && npm run build && npm run lint
run: npm run build && npm run lint

- name: Clean build and lint checks on signalling library
- name: Build and lint checks on signalling library
working-directory: Signalling
run: npm install && npm run build && npm run lint
run: npm run build && npm run lint

- name: Clean build and lint checks on wilbur
- name: Build and lint checks on wilbur
working-directory: SignallingWebServer
run: npm install && npm run build && npm run lint
run: npm run build && npm run lint

- name: Clean build, lint and unit tests on frontend library
- name: Build, lint and unit tests on frontend library
working-directory: Frontend/library
run: npm install && npm run build && npm run lint && npm run test
run: npm run build && npm run lint && npm run test

- name: Clean build and lint checks on frontend ui library
- name: Build and lint checks on frontend ui library
working-directory: Frontend/ui-library
run: npm install && npm run build && npm run lint
run: npm run build && npm run lint

- name: Clean build of frontend implementation
- name: Build of frontend implementation
working-directory: Frontend/implementations/typescript
run: npm install && npm run build
run: npm run build

- name: Clean build of frontend implementation as ES6
- name: Build of frontend implementation as ES6
working-directory: Frontend/implementations/typescript
run: npm install && npm run build:esm
run: npm run build:esm
5 changes: 5 additions & 0 deletions .github/workflows/healthcheck-libs-with-public-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,27 @@ jobs:

# Not linting or testing because some of those tools require the
# workspace dependencies. eg. eslint and its plugins.

- name: Build signalling using published packages only
if: always()
working-directory: Signalling
run: npm install && npm run build

- name: Build Wilbur using published packages only
if: always()
working-directory: SignallingWebServer
run: npm install && npm run build

- name: Build Frontend/library using published packages only
if: always()
working-directory: Frontend/library
run: npm install && npm run build

- name: Build Frontend/ui-library using published packages only
if: always()
working-directory: Frontend/ui-library
run: npm install && npm run build

- name: Build Frontend/implementations/typescript using published packages only
if: always()
working-directory: Frontend/implementations/typescript
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/healthcheck-platform-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: Check health of platform scripts

on:
workflow_dispatch:
push:
paths:
- ".github/workflows/healthcheck-platform-scripts.yml"
- "SignallingWebServer/**"
pull_request:
paths:
- ".github/workflows/healthcheck-platform-scripts.yml"
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/healthcheck-signalling-protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ name: Check health of signalling protocol

on:
workflow_dispatch:
push:
paths:
- ".github/workflows/healthcheck-signalling-protocol.yml"
- "Common/**"
- "Signalling/**"
- "SignallingWebServer/**"
- "Extras/SS_Test/**"
pull_request:
paths:
- ".github/workflows/healthcheck-signalling-protocol.yml"
Expand Down
32 changes: 8 additions & 24 deletions .github/workflows/healthcheck-streaming.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ name: Check health of streaming

on:
workflow_dispatch:
push:
paths:
- ".github/workflows/healthcheck-streaming.yml"
- "Common/**"
- "Frontend/**"
- "Signalling/**"
- "SignallingWebServer/**"
- "Extras/**"
pull_request:
paths:
- ".github/workflows/healthcheck-streaming.yml"
Expand Down Expand Up @@ -72,41 +64,33 @@ jobs:
- name: Extract streamer
run: 7z x -oStreamer Minimal-PixelStreamer-5.5-Win64-Development.7z

- name: Install dependencies
run: npm install

- name: Build Common
working-directory: Common
run: |
npm install
npm run build
run: npm run build

- name: Build Signalling
working-directory: Signalling
run: |
npm install
npm run build
run: npm run build

- name: Build Wilbur
working-directory: SignallingWebServer
run: |
npm install
npm run build
run: npm run build

- name: Build Frontend lib
working-directory: Frontend/library
run: |
npm install
npm run build
run: npm run build

- name: Build Frontend ui lib
working-directory: Frontend/ui-library
run: |
npm install
npm run build
run: npm run build

- name: Build Frontend implementation
working-directory: Frontend/implementations/typescript
run: |
$Env:WEBPACK_OUTPUT_PATH='${{ github.workspace }}\www'
npm install
npm run build

- name: Prepare test
Expand Down
Loading
Loading