Skip to content

Commit 3d7aa9f

Browse files
authored
Merge pull request #265 from sparksuite/always-use-yarn-dev
For simplicity and consistency, always prep jobs with `yarn dev`
2 parents e1c5266 + bf4b024 commit 3d7aa9f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
3434
restore-keys: |
3535
${{ runner.os }}-yarn-
36-
- run: yarn install --frozen-lockfile --prefer-offline
36+
- run: yarn dev
3737
- run: yarn lint
3838
test:
3939
name: Run tests
@@ -108,8 +108,7 @@ jobs:
108108
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
109109
restore-keys: |
110110
${{ runner.os }}-yarn-
111-
- run: yarn install --frozen-lockfile --prefer-offline
112-
- run: yarn compile
111+
- run: yarn dev
113112
- run: yarn publish
114113
env:
115114
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -138,9 +137,7 @@ jobs:
138137
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
139138
restore-keys: |
140139
${{ runner.os }}-yarn-
141-
- run: yarn install --frozen-lockfile --prefer-offline
142-
- run: yarn compile
143-
- run: yarn --cwd ./website install --frozen-lockfile --prefer-offline
140+
- run: yarn dev
144141
- run: yarn --cwd ./website build
145142
- name: Deploy to GitHub Pages
146143
uses: JamesIves/github-pages-deploy-action@4.0.0

0 commit comments

Comments
 (0)