Skip to content

Commit

Permalink
chore(workspace): upgrade pnpm action setup to avoid the deprecation …
Browse files Browse the repository at this point in the history
…warnings (#3056)
  • Loading branch information
JoviDeCroock authored Mar 16, 2023
1 parent 918388b commit 9f91c2b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
node-version: 18

- name: Setup pnpm
uses: pnpm/[email protected].2
uses: pnpm/[email protected].4
with:
version: 7
run_install: false

- name: Get pnpm store directory
id: pnpm-store
run: echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
run: echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Use pnpm store
uses: actions/cache@v3
Expand Down Expand Up @@ -71,14 +71,14 @@ jobs:
node-version: 18

- name: Setup pnpm
uses: pnpm/[email protected].2
uses: pnpm/[email protected].4
with:
version: 7
run_install: false

- name: Get pnpm store directory
id: pnpm-store
run: echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
run: echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Use pnpm store
uses: actions/cache@v3
Expand Down Expand Up @@ -120,14 +120,14 @@ jobs:
node-version: 18

- name: Setup pnpm
uses: pnpm/[email protected].2
uses: pnpm/[email protected].4
with:
version: 7
run_install: false

- name: Get pnpm store directory
id: pnpm-store
run: echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
run: echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Use pnpm store
uses: actions/cache@v3
Expand Down Expand Up @@ -175,14 +175,14 @@ jobs:
node-version: 18

- name: Setup pnpm
uses: pnpm/[email protected].2
uses: pnpm/[email protected].4
with:
version: 7
run_install: false

- name: Get pnpm store directory
id: pnpm-store
run: echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
run: echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Use pnpm store
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
node-version: 18

- name: Setup pnpm
uses: pnpm/[email protected].2
uses: pnpm/[email protected].4
with:
version: 7
run_install: false

- name: Get pnpm store directory
id: pnpm-store
run: echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
run: echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Use pnpm store
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ jobs:
node-version: 18

- name: Setup pnpm
uses: pnpm/[email protected].2
uses: pnpm/[email protected].4
with:
version: 7
run_install: false

- name: Get pnpm store directory
id: pnpm-store
run: echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
run: echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Use pnpm store
uses: actions/cache@v3
Expand Down

0 comments on commit 9f91c2b

Please sign in to comment.