mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-14 17:04:05 +00:00
393a907b57
* Update github actions due to nodejs 16 deprecation - Replace archived actions-rs/clippy-check with maintained fork actions-rs-plus/clippy-check - Replace redhat-actions/push-to-registry with updated fork Eusebiotrigo/push-to-registry - Point redhat-actions/buildah-build and softprops/action-gh-release to current master to fix nodejs deprecation * Build the correct ios core rust arch for CI runs * Build ios app for the same arch as the host in Mobile CI * Some changes to try and make cache-factory faster and avoid failing so much * Add trigger to run cache-factory on pull requests when there are changes to itself * Attempt to fix sed usage on macOS * Don't treat warning as errors * Fix windows * Fix windows 2 * Use target ad cache key for rust to differentiate between macOS x86_64 and arm64 * Use faster/better linkers to compile for macOS, Linux and Windows * Fix missing shell in action * Fix typo * Fix missing shell in action 2 * Fix mold download - Replace bsdtar with plain tar * Fix permission denied when extracting mold * Remove zld * Don't restore cache for rustfmt - Remove target symlink to C:/ in an attempt to speed-up windows CI * Fix typo * Restore target symlink on windows - Removing it didn't make CI faster * Run Mobile on macos-14
29 lines
691 B
YAML
29 lines
691 B
YAML
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@v3
|
|
with:
|
|
version: 8.x.x
|
|
|
|
- name: Install Node.js
|
|
uses: actions/setup-node@v4
|
|
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
|