Skip to content

Commit

Permalink
Merge pull request #64 from th-ch/ci
Browse files Browse the repository at this point in the history
Improve CI
  • Loading branch information
th-ch authored Nov 23, 2020
2 parents 0c819e9 + 0fd4933 commit 1d2b53f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Build YouTube Music
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
fail-fast: true
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]

Expand All @@ -20,6 +20,18 @@ jobs:
with:
node-version: "12.x"

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn --frozen-lockfile

Expand Down

0 comments on commit 1d2b53f

Please sign in to comment.