Skip to content

Commit

Permalink
Remove lfs and use caching of actions/setup-node@v2 (Fixes #262) (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianrath authored Mar 10, 2022
1 parent fe943f3 commit 58ac16f
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
lfs: true
cache: npm
node-version: 14.17.6
- name: Checkout LFS objects
run: git lfs pull
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-v8-${{ hashFiles('**/package-lock.json') }}

- name: Upgrade node-gyp
shell: powershell
Expand All @@ -45,14 +41,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
lfs: true
cache: npm
node-version: 14.17.6
- name: Checkout LFS objects
run: git lfs pull
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-v8-${{ hashFiles('**/package-lock.json') }}

- name: Upgrade node-gyp
run: |
Expand All @@ -71,14 +63,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
lfs: true
cache: npm
node-version: 14.17.6
- name: Checkout LFS objects
run: git lfs pull
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-v8-${{ hashFiles('**/package-lock.json') }}

- name: Upgrade node-gyp
run: |
Expand Down Expand Up @@ -123,14 +111,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
lfs: true
cache: npm
node-version: 14.17.6
- name: Checkout LFS objects
run: git lfs pull
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-v8-${{ hashFiles('**/package-lock.json') }}

- name: Upgrade node-gyp
run: |
Expand Down Expand Up @@ -175,14 +159,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
lfs: true
cache: npm
node-version: 14.17.6
- name: Checkout LFS objects
run: git lfs pull
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-v8-${{ hashFiles('**/package-lock.json') }}

- name: Upgrade node-gyp
shell: powershell
Expand Down

0 comments on commit 58ac16f

Please sign in to comment.