Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up #2018

Merged
merged 45 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
1f75210
use nx to run smoke test
shineli1984 Jul 24, 2024
5d94d69
changed yarn lock
shineli1984 Jul 24, 2024
dbfa9ae
try fix smoke build
shineli1984 Jul 24, 2024
3d1201e
fix smoke ci
shineli1984 Jul 24, 2024
e8b3a15
remove smoke test workflow
shineli1984 Jul 24, 2024
bc578ad
functest targets
shineli1984 Jul 25, 2024
724f6bd
include func tests
shineli1984 Jul 25, 2024
de3b63c
clean up
shineli1984 Jul 25, 2024
76c9493
remove cache
shineli1984 Jul 25, 2024
d7c1f92
clean up publish
shineli1984 Jul 25, 2024
a1a379e
add checks for checkout directory
shineli1984 Jul 25, 2024
572604b
merge in more changes
shineli1984 Jul 26, 2024
e764c2c
clean up workflow files
shineli1984 Jul 26, 2024
5be05b5
merge conflicts
shineli1984 Jul 26, 2024
259e10e
correct action name
shineli1984 Jul 26, 2024
01d2749
fix type
shineli1984 Jul 26, 2024
1d98710
reduce parallelism
shineli1984 Jul 28, 2024
1100569
Merge branch 'main' into clean-up
shineli1984 Jul 28, 2024
cb8a660
nohoist tests
shineli1984 Jul 29, 2024
c5b9b26
not update sdk version in pr in game bridge
shineli1984 Jul 29, 2024
ca7c2a3
debug
shineli1984 Jul 29, 2024
0012af5
debug
shineli1984 Jul 29, 2024
3d9c6ed
debug
shineli1984 Jul 29, 2024
9ca6a17
debug
shineli1984 Jul 29, 2024
3e29360
exclude checkout widget sample app
shineli1984 Jul 29, 2024
c798641
always install
shineli1984 Jul 29, 2024
e821451
separate func tests
shineli1984 Jul 29, 2024
1330c3d
remove mocha types
shineli1984 Jul 29, 2024
a4c4f91
func tests env
shineli1984 Jul 29, 2024
6709298
cache node_modules
shineli1984 Jul 29, 2024
3bfc42e
multiple cache path
shineli1984 Jul 29, 2024
94c77a1
update deps
shineli1984 Jul 29, 2024
63f3f80
Merge branch 'main' into clean-up
shineli1984 Jul 29, 2024
e68621a
use nx on game bridge package
shineli1984 Jul 29, 2024
76cd493
sdk version update no in pr
shineli1984 Jul 29, 2024
a104156
change game-bridge readme
shineli1984 Jul 29, 2024
b723071
resolve merge conflicts
shineli1984 Jul 29, 2024
b7b31ae
fix workflow file
shineli1984 Jul 29, 2024
1fed1b7
build everything on ci
shineli1984 Jul 29, 2024
53f1e5c
fix examples scripts
shineli1984 Jul 29, 2024
9f5917d
test all examples
shineli1984 Jul 29, 2024
639680b
not using nx for root tests
shineli1984 Jul 29, 2024
4f91c34
exclude checkout sample
shineli1984 Jul 29, 2024
1ef38e9
merge conflict
shineli1984 Jul 29, 2024
be03026
use nx for func tests
shineli1984 Jul 29, 2024
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "PR Setup"
description: "Do necessary setup for jobs in PR workflow"
name: "Setup"
description: "Do necessary setup for NX, node, yarn cache and deps install"

runs:
using: "composite"
Expand All @@ -18,10 +18,12 @@ runs:
id: restore-cache-node_modules
uses: actions/cache@v4
with:
path: node_modules
path: |
**/node_modules
.yarn/install-state.gz
key: ${{ runner.os }}-build-cache-deps-${{ hashFiles('yarn.lock') }}

- name: install depdenencies
- name: install dependencies
if: steps.restore-cache-node_modules.outputs.cache-hit != 'true'
shell: bash
run: yarn install --immutable
32 changes: 5 additions & 27 deletions .github/workflows/build-game-bridge.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Workflow to manually trigger a build of the game bridge with the selected SDK tag
# and create a PR with the changes to the game SDK repository.

name: Build Game Bridge
name: Build Game Bridge

on:
workflow_dispatch:
Expand Down Expand Up @@ -57,36 +57,14 @@ jobs:
if: ${{ steps.allowed_actors_check.outputs.ALLOWED_ACTOR != 'true' }}
run: exit 1

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
registry-url: https://registry.npmjs.org/
cache: "yarn"

- name: Restore cached node_modules
id: restore-cache-node_modules
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-build-cache-deps-${{ hashFiles('yarn.lock') }}

- name: Install dependencies
if: steps.restore-cache-node_modules.outputs.cache-hit != 'true'
run: yarn install --immutable
- name: setup
uses: ./.github/actions/setup

- name: Set TS SDK hash
run: echo "TS_SDK_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV

- name: Build Game Bridge
run: cd packages/game-bridge && yarn build

# make artifacs avilable for download
- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
with:
name: game-bridge-artifacts
path: ./packages/game-bridge/dist
run: yarn nx run @imtbl/game-bridge:build

- name: Cache build artifacts
uses: actions/cache@v4
Expand Down Expand Up @@ -119,7 +97,7 @@ jobs:
key: ${{ runner.os }}-game-bridge-build-${{ env.TS_SDK_TAG }}

- name: Check Cache Restore
if: steps.restore-cache-game-bridge-build.outputs.cache-hit != 'true'
if: steps.restore-cache-game-bridge-build.outputs.cache-hit != 'true'
run: echo "Game Bridge build cache not restored, exiting" && exit 1

- name: Checkout Unity SDK Repo
Expand Down
66 changes: 0 additions & 66 deletions .github/workflows/build-lint-typecheck-test.yaml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/detect-node-version-change.yaml

This file was deleted.

54 changes: 0 additions & 54 deletions .github/workflows/functional-tests-imx.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/functional-tests-zkevm.yml

This file was deleted.

Loading
Loading