Skip to content

Commit ecb2ac4

Browse files
fixed workflow setup
1 parent 91ba741 commit ecb2ac4

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

.github/workflows/publish-example-tutorials.yaml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -44,30 +44,8 @@ jobs:
4444
git config --global user.name "${GITHUB_ACTOR}"
4545
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
4646
47-
- name: Setup Node.js
48-
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
49-
with:
50-
node-version: 18
51-
52-
- name: Install pnpm
53-
uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d
54-
with:
55-
version: 8.6.10
56-
run_install: false
57-
58-
- name: Get pnpm store directory
59-
id: pnpm-cache
60-
shell: bash
61-
run: |
62-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
63-
64-
- name: Setup pnpm cache
65-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
66-
with:
67-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
68-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
69-
restore-keys: |
70-
${{ runner.os }}-pnpm-store-
47+
- name: setup
48+
uses: ./.github/actions/setup
7149

7250
- name: Install Dependencies
7351
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)