chore: switch from yarn to pnpm (#8822)

This commit is contained in:
Colin Adler
2023-08-02 13:28:16 -05:00
committed by GitHub
parent cf35c0dfc5
commit 4b81cfaa0d
32 changed files with 20469 additions and 18664 deletions
+11 -3
View File
@@ -10,14 +10,22 @@ inputs:
runs:
using: "composite"
steps:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: buildjet/setup-node@v3
with:
node-version: 18.17.0
# See https://github.com/actions/setup-node#caching-global-packages-data
cache: "yarn"
cache-dependency-path: ${{ inputs.directory }}/yarn.lock
cache: "pnpm"
cache-dependency-path: ${{ inputs.directory }}/pnpm-lock.yaml
- name: Install root node_modules
shell: bash
run: ./scripts/pnpm_install.sh
- name: Install node_modules
shell: bash
run: ../scripts/yarn_install.sh
run: ../scripts/pnpm_install.sh
working-directory: ${{ inputs.directory }}