Skip to content

Commit

Permalink
is yarn installed with setup-node?
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Nov 18, 2020
1 parent 8656cca commit 9443e23
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,6 @@ jobs:
- uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.node }}
- name: Get yarn
run: |
curl -o- -L https://yarnpkg.com/install.sh | bash
export PATH="$HOME/.yarn/bin:$PATH"
- name: Get yarn cache
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Set yarn cache
uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node }}-yarn-
- name: Install
run: yarn --frozen-lockfile
env:
Expand Down

0 comments on commit 9443e23

Please sign in to comment.