chore: add studio build action

This commit is contained in:
Isaiah Hamilton committed 2022-05-22 23:21:48 -04:00
1 parent 315ab7f7a6
commit bfb19f54a5
1 file changed
+32
+32
View File
@@ -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