mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
[v2] Update Workflows + runtime
This commit is contained in:
parent
d270cc2ffa
commit
abbbdda102
6 changed files with 17 additions and 687 deletions
27
.github/workflows/runtime.yml
vendored
27
.github/workflows/runtime.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue