Skip to content

Commit

Permalink
chore(root): add pnpm action to all jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoazh committed Jan 3, 2025
1 parent 290c66d commit 25f4439
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,15 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'pnpm'
- name: Download pnpm-lock.yaml artifact
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -72,12 +77,14 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
# - name: Install pnpm
# run: npm install -g [email protected]
- name: Install dependencies
run: pnpm install
- name: Create env file
Expand All @@ -95,10 +102,15 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Use Node.js
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: "22.x"
node-version: 22.x
cache: 'pnpm'
- name: Download pnpm-lock.yaml artifact
uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 25f4439

Please sign in to comment.