From 887c115f3bf0eaa6110d1fcf0d5b6b2a67cf7af3 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Tue, 17 May 2022 13:51:08 +0200 Subject: [PATCH] Update electron.yml --- .github/workflows/electron.yml | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/.github/workflows/electron.yml b/.github/workflows/electron.yml index a17bc68..bb7c2b2 100644 --- a/.github/workflows/electron.yml +++ b/.github/workflows/electron.yml @@ -8,25 +8,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - - name: Use Node.js 14 + - name: Use Node.js 16 uses: actions/setup-node@v1 with: - node-version: 14.x - - name: Get npm cache directory - id: npm-cache - run: | - echo "::set-output name=dir::$(npm config get cache)" - - uses: actions/cache@v2 - with: - path: ${{ steps.npm-cache.outputs.dir }} - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- + node-version: 16.x + cache: 'yarn' - name: Intall dependencies - run: npm ci - - run: npm run make --if-present - # - uses: actions/upload-artifact@v2 - # with: - # name: Artifact - # path: out\make\squirrel.windows\x64 - # if-no-files-found: error + run: yarn install --frozen-lockfile