CI(GitHub Actions): Use pnpm/action-setup to install pnpm

Summary:
/shrug that I have to install this.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: land and do push again.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D635
This commit is contained in:
revi 2024-08-01 19:14:25 +09:00
parent 9df5a0f602
commit 00da98d2b7
Signed by: revi
GPG key ID: 1EB4F6CEEA100E94

View file

@ -18,6 +18,8 @@ jobs:
steps: steps:
- name: 'Checkout' - name: 'Checkout'
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
# Setup .npmrc file to publish to npm # Setup .npmrc file to publish to npm
- name: 'Setup node.js' - name: 'Setup node.js'
uses: actions/setup-node@v4 uses: actions/setup-node@v4
@ -44,6 +46,8 @@ jobs:
steps: steps:
- name: 'Checkout' - name: 'Checkout'
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
# Setup .npmrc file to publish to npm # Setup .npmrc file to publish to npm
- name: 'Setup node.js' - name: 'Setup node.js'
uses: actions/setup-node@v4 uses: actions/setup-node@v4