Skip to content

Commit 14aaeb0

Browse files
committed
remove install-dependencies job
1 parent 2c0a1ce commit 14aaeb0

1 file changed

Lines changed: 22 additions & 18 deletions

File tree

.github/workflows/distribute.yml

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,7 @@ env:
2727
REACT_APP_AMPLITUDE_URL: ${{ secrets.REACT_APP_AMPLITUDE_URL }}
2828
REACT_APP_AMPLITUDE_KEY: ${{ secrets.REACT_APP_AMPLITUDE_KEY }}
2929
jobs:
30-
31-
install-dependencies:
32-
runs-on: ubuntu-latest
33-
needs: tag_version
34-
steps:
35-
- uses: actions/checkout@v2
36-
with:
37-
ref: master
38-
- uses: actions/cache@v2
39-
with:
40-
path: '**/node_modules'
41-
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
42-
- name: Install yarn dependencies
43-
run: yarn
44-
30+
4531
tag_version:
4632
runs-on: ubuntu-latest
4733
steps:
@@ -69,8 +55,17 @@ jobs:
6955
chrome-deploy:
7056
runs-on: ubuntu-latest
7157
if: ${{ (github.event.inputs.targetStore == 'chrome') || (github.event.inputs.targetStore == 'all') }}
72-
needs: install-dependencies
73-
steps:
58+
needs: tag_version
59+
steps:
60+
- uses: actions/checkout@v2
61+
with:
62+
ref: master
63+
- uses: actions/cache@v2
64+
with:
65+
path: '**/node_modules'
66+
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
67+
- name: Install yarn dependencies
68+
run: yarn
7469
- name: Build and zip the extension
7570
run: yarn build-chrome
7671
- name: Install chrome dependencies
@@ -87,8 +82,17 @@ jobs:
8782
firefox-deploy:
8883
runs-on: ubuntu-latest
8984
if: ${{ (github.event.inputs.targetStore == 'firefox') || (github.event.inputs.targetStore == 'all') }}
90-
needs: install-dependencies
85+
needs: tag_version
9186
steps:
87+
- uses: actions/checkout@v2
88+
with:
89+
ref: master
90+
- uses: actions/cache@v2
91+
with:
92+
path: '**/node_modules'
93+
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
94+
- name: Install yarn dependencies
95+
run: yarn
9296
- name: Build and zip the extension
9397
run: yarn build-firefox
9498
- name: Install Firefox dependencies

0 commit comments

Comments
 (0)