Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade pnpm to version 8 #183

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/compressed-size-action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Compressed Size

on: [ pull_request ]
on: [pull_request]

jobs:
build:
Expand All @@ -19,11 +19,11 @@ jobs:
with:
node-version: 18

- uses: pnpm/action-setup@v2.0.1
- uses: pnpm/action-setup@v2.2.4
name: Install pnpm
id: pnpm-install
with:
version: 7
version: 8
run_install: false

- name: Get pnpm store directory
Expand All @@ -42,8 +42,7 @@ jobs:
- name: Compressed Size Action
uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
build-script: "build:packages"
pattern: "packages/**/dist/*.{js,mjs}"
exclude: "{**/*.map,**/node_modules/**}"

repo-token: '${{ secrets.GITHUB_TOKEN }}'
build-script: 'build:packages'
pattern: 'packages/**/dist/*.{js,mjs}'
exclude: '{**/*.map,**/node_modules/**}'
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Wait for tests to succeed
uses: lewagon/[email protected]
with:
Expand All @@ -33,11 +33,11 @@ jobs:
with:
node-version: 18

- uses: pnpm/action-setup@v2.0.1
- uses: pnpm/action-setup@v2.2.4
name: Install pnpm
id: pnpm-install
with:
version: 7
version: 8
run_install: false

- name: Get pnpm store directory
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Test

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
test:
Expand All @@ -24,11 +24,11 @@ jobs:
with:
node-version: 18

- uses: pnpm/action-setup@v2.0.1
- uses: pnpm/action-setup@v2.2.4
name: Install pnpm
id: pnpm-install
with:
version: 7
version: 8
run_install: false

- name: Get pnpm store directory
Expand Down
Loading