Skip to content

Merge pull request #192 from KhronosGroup/dependabot/npm_and_yarn/wor… #64

Merge pull request #192 from KhronosGroup/dependabot/npm_and_yarn/wor…

Merge pull request #192 from KhronosGroup/dependabot/npm_and_yarn/wor… #64

Workflow file for this run

name: Khronos glTF Project Explorer CI Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-22.04
env:
NODE_ENV: ci
concurrency:
group: ${{github.workflow}}-${{github.ref}}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: "yarn"
- name: Install Packages
run: yarn
- name: Build
run: yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build