From 80737575e1db9ec186940dcbd680ec3635a3889a Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 29 Sep 2021 21:37:47 +0100 Subject: [PATCH] ci: install deps no matter what (and rename old refs to pnp.js) --- .eslintignore | 2 +- .github/workflows/ci.yml | 9 ++++----- .prettierignore | 2 +- package.json | 3 ++- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.eslintignore b/.eslintignore index c0a306c..25df377 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,4 +1,4 @@ lib .yarn -.pnp.js \ No newline at end of file +.pnp.cjs \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f85f954..5c36389 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,13 +27,12 @@ jobs: !.yarn/plugins !.yarn/sdks !.yarn/versions - .pnp.js - key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.pnp.js') }} + .pnp.cjs + key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.pnp.cjs') }} restore-keys: | ${{ runner.os }}-yarn - name: Install dependencies - if: steps.cache.outputs.cache-hit != 'true' run: yarn - name: Lint project @@ -59,8 +58,8 @@ jobs: !.yarn/plugins !.yarn/sdks !.yarn/versions - .pnp.js - key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.pnp.js') }} + .pnp.cjs + key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.pnp.cjs') }} restore-keys: | ${{ runner.os }}-yarn diff --git a/.prettierignore b/.prettierignore index de4b922..80c9224 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,2 @@ .yarn -.pnp.js +.pnp.cjs diff --git a/package.json b/package.json index 4937fbe..01875e0 100644 --- a/package.json +++ b/package.json @@ -78,5 +78,6 @@ }, "peerDependencies": { "postcss": "^8" - } + }, + "packageManager": "yarn@3.0.2" } -- knotmirror 0.0.1