[v2] Update Workflows + runtime

This commit is contained in:
Lea Anthony 2021-09-13 18:58:09 +10:00
commit abbbdda102
6 changed files with 17 additions and 687 deletions

View file

@ -13,26 +13,13 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: lts
- name: Install dependencies
uses: elstudio/actions-js-build/build@v4
with:
wdPath: 'v2/internal/frontend/runtime'
args: install
- name: Rebuild runtime
uses: elstudio/actions-js-build/build@v4
with:
wdPath: 'v2/internal/frontend/runtime'
args: run build
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('v2/internal/frontend/runtime/package-lock.json') }}
restore-keys: npm-
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