Skip to content

Add isolate button to scene-tree #2523

Add isolate button to scene-tree

Add isolate button to scene-tree #2523

Workflow file for this run

name: Branch
on:
push:
branches-ignore:
- master
- publish-testing
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout changes"
uses: actions/checkout@v4
- name: Set Node Version
id: nvm
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: "Install"
run: "yarn install --frozen-lockfile"
- name: "Build"
run: "yarn build"
- name: "Upload build artifacts"
uses: actions/upload-artifact@v4
with:
name: build-artifact
path: |
packages/*/dist
packages/viewer/loader
lint:
runs-on: ubuntu-latest
steps:
- name: "Checkout changes"
uses: actions/checkout@v4
- name: Set Node Version
id: nvm
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: "Install"
run: "yarn install"
- name: "Lint"
run: "yarn lint"
test:
runs-on: ubuntu-latest
needs: [build]
steps:
- name: "Checkout changes"
uses: actions/checkout@v4
- name: "Download build artifacts"
uses: actions/download-artifact@v4
with:
name: build-artifact
path: packages
- name: Set Node Version
id: nvm
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: "Install"
run: "yarn install"
- name: "Test"
run: "yarn test:ci"
docs:
runs-on: ubuntu-latest
needs: [build]
steps:
- name: "Checkout changes"
uses: actions/checkout@v4
- name: "Download build artifacts"
uses: actions/download-artifact@v4
with:
name: build-artifact
path: packages
- name: Set Node Version
id: nvm
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: "Install"
run: "yarn install"
- name: "Generate docs"
run: "yarn generate:docs"
- name: "Test docs"
run: git add -f docs/