Skip to content

Commit

Permalink
ci(.github/workflows): simplify 'pnpm install' command (#1463)
Browse files Browse the repository at this point in the history
# Overview

* In CI `pnpm install` means `pnpm install --frozen-lockfile`, so i
simplify it.
*
https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data



## PR Checklist

- [x] I did below actions if need

1. I read the [Contributing
Guide](https://github.com/toss/suspensive/blob/main/CONTRIBUTING.md)
2. I added documents and tests.
  • Loading branch information
sukvvon authored Mar 4, 2025
1 parent e388377 commit 95088d8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/broken-link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-setup-node
- run: pnpm install --frozen-lockfile
- run: pnpm install
- run: pnpm blc:suspensive.org
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-setup-node
- run: pnpm install --frozen-lockfile
- run: pnpm install
- if: matrix.command == 'ci:test'
run: pnpm playwright install
- run: pnpm ${{ matrix.command }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install
- name: Build with Turbo graph
run: pnpm graph
- name: Upload artifact
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/knip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-setup-node
- run: pnpm install --frozen-lockfile
- run: pnpm install
- run: pnpm ci:knip
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-setup-node
- run: pnpm install --frozen-lockfile
- run: pnpm install
- run: |
git config --global user.name "Jonghyeon Ko"
git config --global user.email "jonghyeon@toss.im"
Expand Down

0 comments on commit 95088d8

Please sign in to comment.