diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml new file mode 100644 index 00000000..edc29ec3 --- /dev/null +++ b/.github/workflows/runtime.yml @@ -0,0 +1,27 @@ +name: Runtime +on: + pull_request: + branches: + - v2-alpha + paths: + - 'v2/internal/frontend/runtime/**' +jobs: + rebuild-runtime: + name: Rebuild the runtime + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 14.17.6 + cache: 'npm' + cache-dependency-path: v2/internal/frontend/runtime/package-lock.json + - run: npm install + working-directory: v2/internal/frontend/runtime + - run: npm run build + working-directory: v2/internal/frontend/runtime + + - name: Commit changes + uses: elstudio/actions-js-build/commit@v4 + with: + commitMessage: Rebuild runtime