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