From bfb19f54a583c02296194b48782f1db358e2f03e Mon Sep 17 00:00:00 2001 From: Isaiah Hamilton <70828596+Isaiah-Hamilton@users.noreply.github.com> Date: Sun, 22 May 2022 23:16:39 -0400 Subject: [PATCH] chore: add studio build action --- .github/workflows/studio-build.yml | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/studio-build.yml diff --git a/.github/workflows/studio-build.yml b/.github/workflows/studio-build.yml new file mode 100644 index 00000000000..5540ac4e238 --- /dev/null +++ b/.github/workflows/studio-build.yml @@ -0,0 +1,32 @@ +name: Studio Build + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + paths: + - 'studio/**' +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - name: Install deps + run: npm i + working-directory: ./studio + - name: Run build + run: npm run build + working-directory: ./studio