mirror of
https://github.com/block/goose.git
synced 2026-05-01 21:10:54 +00:00
Fix tests from upstream changes and add testing to lint staged and ci (#4127)
This commit is contained in:
parent
5c1789a6fc
commit
867752a71e
7 changed files with 75 additions and 59 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
|
@ -109,6 +109,16 @@ jobs:
|
|||
- name: Checkout Code
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4
|
||||
|
||||
- name: Cache npm dependencies
|
||||
uses: actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # pin@v3
|
||||
with:
|
||||
path: |
|
||||
ui/desktop/node_modules
|
||||
.hermit/node/cache
|
||||
key: ci-npm-cache-v1-${{ runner.os }}-${{ hashFiles('ui/desktop/package-lock.json') }}
|
||||
restore-keys: |
|
||||
ci-npm-cache-v1-${{ runner.os }}-
|
||||
|
||||
- name: Install Dependencies
|
||||
run: source ../../bin/activate-hermit && npm ci
|
||||
working-directory: ui/desktop
|
||||
|
|
@ -117,6 +127,10 @@ jobs:
|
|||
run: source ../../bin/activate-hermit && npm run lint:check
|
||||
working-directory: ui/desktop
|
||||
|
||||
- name: Run Tests
|
||||
run: source ../../bin/activate-hermit && npm run test:run
|
||||
working-directory: ui/desktop
|
||||
|
||||
# Faster Desktop App build for PRs only
|
||||
bundle-desktop-unsigned:
|
||||
uses: ./.github/workflows/bundle-desktop.yml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue