Add Node.js and pnpm setup in GitHub Actions workflow for improved dependency management
This commit is contained in:
parent
26ccf6369e
commit
b1844d7017
14
.github/workflows/deploy.yml
vendored
14
.github/workflows/deploy.yml
vendored
@ -21,6 +21,20 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10.15.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user