blob: 97f462e7b9c6e5e5ed5b718efd1fc61e55351c54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
name: Setup Node.js, pnpm and dependencies
description: Setup Node.js, pnpm and dependencies
inputs:
token:
description: Github token
required: false
default: ''
runs:
using: 'composite'
steps:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.x.x
- name: Install Node.js
uses: actions/setup-node@v3
with:
token: ${{ inputs.token }}
check-latest: true
node-version-file: '.nvmrc'
- name: Install pnpm deps
shell: ${{ runner.os == 'Windows' && 'powershell' || 'bash' }}
env:
NODE_ENV: debug
GITHUB_TOKEN: ${{ inputs.token }}
run: pnpm i --frozen-lockfile
|