aboutsummaryrefslogtreecommitdiff
path: root/.github/actions/setup-pnpm
diff options
context:
space:
mode:
authorPauline <git@ethanlibs.co>2023-11-26 17:13:07 -0500
committerPauline <git@ethanlibs.co>2023-11-26 17:13:07 -0500
commite9d485fe3b5db8c426ac03b30ed8917df0baa62d (patch)
tree69a684d53abce6b636620cc0000a6e84846246d7 /.github/actions/setup-pnpm
parent85c31ee8d278ac6fa1f0ba143b78d65e5f665f32 (diff)
downloadNexus-e9d485fe3b5db8c426ac03b30ed8917df0baa62d.tar.gz
Nexus-e9d485fe3b5db8c426ac03b30ed8917df0baa62d.tar.bz2
Nexus-e9d485fe3b5db8c426ac03b30ed8917df0baa62d.zip
feat(lint): switch to eslint config and formatting (use vscode for autoformat)
Diffstat (limited to '.github/actions/setup-pnpm')
-rw-r--r--.github/actions/setup-pnpm/action.yml44
1 files changed, 22 insertions, 22 deletions
diff --git a/.github/actions/setup-pnpm/action.yml b/.github/actions/setup-pnpm/action.yml
index 97f462e..61cf3ee 100644
--- a/.github/actions/setup-pnpm/action.yml
+++ b/.github/actions/setup-pnpm/action.yml
@@ -1,28 +1,28 @@
name: Setup Node.js, pnpm and dependencies
description: Setup Node.js, pnpm and dependencies
inputs:
- token:
- description: Github token
- required: false
- default: ''
+ token:
+ description: Github token
+ required: false
+ default: ''
runs:
- using: 'composite'
- steps:
- - name: Install pnpm
- uses: pnpm/action-setup@v2
- with:
- version: 8.x.x
+ 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 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
+ - name: Install pnpm deps
+ shell: ${{ runner.os == 'Windows' && 'powershell' || 'bash' }}
+ env:
+ NODE_ENV: debug
+ GITHUB_TOKEN: ${{ inputs.token }}
+ run: pnpm i --frozen-lockfile