Skip to content

Commit

Permalink
chore: upgrade pnpm to version 8
Browse files Browse the repository at this point in the history
  • Loading branch information
pradel committed Apr 11, 2023
1 parent bdeb8bd commit 7e75c26
Show file tree
Hide file tree
Showing 4 changed files with 1,942 additions and 1,859 deletions.
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/cancel-workflow-action@0.10.0
with:
access_token: ${{ github.token }}

- name: Wait for tests to succeed
uses: lewagon/wait-on-check-action@v1.1.2
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

0 comments on commit 7e75c26

Please sign in to comment.