Skip to content

Commit

Permalink
fix: 🐛 remove cache from yarn & change to windows 2019
Browse files Browse the repository at this point in the history
  • Loading branch information
garrylachman committed May 25, 2023
1 parent 04a2008 commit 8aa4a00
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@ jobs:
corepack prepare yarn@3.5.1 --activate |
corepack yarn config set enableImmutableInstalls false

- name: Extract cached dependencies
uses: actions/setup-node@v3
with:
cache: yarn

- name: Update dependencies
- name: Install dependencies
run: corepack yarn install

- name: Building Packages
Expand All @@ -61,7 +56,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [macos-latest, ubuntu-latest, windows-2019]

steps:
- name: Checkout git repo
Expand All @@ -85,12 +80,7 @@ jobs:
corepack prepare yarn@3.5.1 --activate |
corepack yarn config set enableImmutableInstalls false

- name: Extract cached dependencies
uses: actions/setup-node@v3
with:
cache: yarn

- name: Update dependencies
- name: Install dependencies
run: corepack yarn install

- name: Building Packages
Expand All @@ -100,5 +90,5 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_OPTIONS: --max-old-space-size=8192
DEBUG: electron-forge:*
DEBUG: '*'
run: corepack yarn electron-forge publish

0 comments on commit 8aa4a00

Please sign in to comment.