Skip to content

Commit c40e3a2

Browse files
authored
ci: correctly setup pnpm
1 parent 2a8303a commit c40e3a2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@ on:
66

77
jobs:
88
publish-to-npm:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-22.04
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v3
13+
14+
- name: 📦 Setup pnpm
15+
uses: pnpm/action-setup@v2
1316

14-
- name: Use Node.js 16.x
17+
- name: Use Node.js 18.x
1518
uses: actions/setup-node@v3
1619
with:
17-
node-version: 16.x
20+
node-version: 18.x
1821
cache: 'pnpm'
1922

2023
- name: Install dependencies

0 commit comments

Comments
 (0)