Create runtime.yml

This commit is contained in:
Lea Anthony
2021-09-13 19:26:36 +10:00
committed by GitHub
parent 099c30833a
commit d548cbe083

27
.github/workflows/runtime.yml vendored Normal file
View File

@@ -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