From d548cbe083e78d82f9b93a20e22c7c976ce0bd8a Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Mon, 13 Sep 2021 19:26:36 +1000 Subject: [PATCH] Create runtime.yml --- .github/workflows/runtime.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/runtime.yml 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