chore(workflows): use install deps action
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -34,31 +34,8 @@ jobs:
|
|||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: Install pnpm 🎒
|
- name: Install Dependencies 👨🏻💻
|
||||||
uses: pnpm/action-setup@v2.2.2
|
uses: ./.github/actions/install-dependencies
|
||||||
with:
|
|
||||||
version: 7
|
|
||||||
run_install: false
|
|
||||||
|
|
||||||
- name: Setup pnpm config 🏗
|
|
||||||
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
|
|
||||||
|
|
||||||
- name: Get pnpm store directory 🏬
|
|
||||||
id: pnpm-cache
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Setup pnpm cache 🧃
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
|
|
||||||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-pnpm-store-
|
|
||||||
|
|
||||||
- name: Install dependencies 👨🏻💻
|
|
||||||
run: pnpm install
|
|
||||||
|
|
||||||
- name: Setup Turbo cache 🏎️
|
- name: Setup Turbo cache 🏎️
|
||||||
id: turbo-cache
|
id: turbo-cache
|
||||||
|
|||||||
@@ -34,34 +34,11 @@ jobs:
|
|||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2.2.2
|
|
||||||
name: Install pnpm
|
|
||||||
with:
|
|
||||||
version: 7
|
|
||||||
run_install: false
|
|
||||||
|
|
||||||
- name: Setup pnpm config 🏗
|
|
||||||
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
|
|
||||||
|
|
||||||
#- name: Setup npmrc 🏗
|
#- name: Setup npmrc 🏗
|
||||||
# run: echo "\n//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
|
# run: echo "\n//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
|
||||||
|
|
||||||
- name: Get pnpm store directory 🏬
|
- name: Install Dependencies 👨🏻💻
|
||||||
id: pnpm-cache
|
uses: ./.github/actions/install-dependencies
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Setup pnpm cache 🧃
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
|
|
||||||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-pnpm-store-
|
|
||||||
|
|
||||||
- name: Install dependencies 👨🏻💻
|
|
||||||
run: pnpm install
|
|
||||||
|
|
||||||
- name: Bump versions 🏷 and Publish 🚀
|
- name: Bump versions 🏷 and Publish 🚀
|
||||||
uses: changesets/action@v1
|
uses: changesets/action@v1
|
||||||
|
|||||||
@@ -33,31 +33,8 @@ jobs:
|
|||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: Install pnpm 🎒
|
- name: Install Dependencies 👨🏻💻
|
||||||
uses: pnpm/action-setup@v2.2.2
|
uses: ./.github/actions/install-dependencies
|
||||||
with:
|
|
||||||
version: 7
|
|
||||||
run_install: false
|
|
||||||
|
|
||||||
- name: Setup pnpm config 🏗
|
|
||||||
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
|
|
||||||
|
|
||||||
- name: Get pnpm store directory 🏬
|
|
||||||
id: pnpm-cache
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Setup pnpm cache 🧃
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
|
|
||||||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-pnpm-store-
|
|
||||||
|
|
||||||
- name: Install dependencies 👨🏻💻
|
|
||||||
run: pnpm install
|
|
||||||
|
|
||||||
- name: Setup Turbo cache 🏎️
|
- name: Setup Turbo cache 🏎️
|
||||||
id: turbo-cache
|
id: turbo-cache
|
||||||
|
|||||||
Reference in New Issue
Block a user