- name: Install pnpm
uses: pnpm/action-setup@v2
- - name: Set node version to 18
+ - name: Install Node.js
uses: actions/setup-node@v3
with:
- node-version: 18
+ node-version-file: '.node-version'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- name: Install pnpm
uses: pnpm/action-setup@v2
- - name: Set node version to 18
+ - name: Install Node.js
uses: actions/setup-node@v3
with:
- node-version: 18
+ node-version-file: '.node-version'
cache: 'pnpm'
- run: pnpm install
- name: Install pnpm
uses: pnpm/action-setup@v2
- - name: Set node version to 18
+ - name: Install Node.js
uses: actions/setup-node@v3
with:
- node-version: 18
+ node-version-file: '.node-version'
cache: 'pnpm'
- run: pnpm install
- name: Install pnpm
uses: pnpm/action-setup@v2
- - name: Set node version to 18
+ - name: Install Node.js
uses: actions/setup-node@v3
with:
- node-version: 18
+ node-version-file: '.node-version'
cache: 'pnpm'
- run: pnpm install
- name: Install pnpm
uses: pnpm/action-setup@v2
- - name: Set node version to 18
+ - name: Install Node.js
uses: actions/setup-node@v3
with:
- node-version: 18
+ node-version-file: '.node-version'
cache: 'pnpm'
- run: pnpm install
- name: Install pnpm
uses: pnpm/action-setup@v2
- - name: Set node version to LTS
+ - name: Install Node.js
uses: actions/setup-node@v3
with:
- node-version: lts/*
+ node-version-file: '.node-version'
cache: pnpm
- name: Install dependencies
- name: Install pnpm
uses: pnpm/action-setup@v2
- - name: Set node version to LTS
+ - name: Install Node.js
uses: actions/setup-node@v3
with:
- node-version: lts/*
+ node-version-file: '.node-version'
cache: pnpm
- name: Install dependencies