Skip to content

Commit

Permalink
Run yarn instead of cache
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Mar 10, 2022
1 parent ba08013 commit 2bf2d40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
node-version: '14'
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
run: yarn
- name: Lint codebase
run: yarn eslint --config .eslintrc.base.json --no-eslintrc --report-unused-disable-directives --max-warnings 0 --ext .js,.ts,.jsx,.tsx .

Expand All @@ -27,6 +27,6 @@ jobs:
with:
node-version: '14'
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
run: yarn
- name: Check codebase format
run: yarn prettier --check .
12 changes: 6 additions & 6 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
node-version: '14'
- name: Install deps (with cache)
uses: bahmutov/npm-install@v1
run: yarn
- name: Test codebase
run: yarn test-ci
- name: Upload coverage
Expand All @@ -31,7 +31,7 @@ jobs:
with:
node-version: '14'
- name: Install website deps (with cache)
uses: bahmutov/npm-install@v1
run: yarn
with:
working-directory: website
- name: Build website
Expand All @@ -48,7 +48,7 @@ jobs:
with:
node-version: '14'
- name: Install deps (with cache)
uses: bahmutov/npm-install@v1
run: yarn
- name: Build codebase
run: yarn build
- name: Test build
Expand All @@ -72,7 +72,7 @@ jobs:
with:
node-version: '14'
- name: Install deps (with cache)
uses: bahmutov/npm-install@v1
run: yarn
- name: Build project
run: |
echo $RELEASE_VERSION
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
with:
node-version: '14'
- name: Install deps (with cache)
uses: bahmutov/npm-install@v1
run: yarn
- name: Build Storybook static site
run: |
yarn storybook:build
Expand All @@ -126,7 +126,7 @@ jobs:
with:
node-version: '14'
- name: Install deps (with cache)
uses: bahmutov/npm-install@v1
run: yarn
- name: Build Storybook static site
run: |
yarn storybook:build
Expand Down

0 comments on commit 2bf2d40

Please sign in to comment.