Skip to content

Commit a47c7f9

Browse files
committed
release: update
1 parent 8ab0c00 commit a47c7f9

2 files changed

Lines changed: 956 additions & 924 deletions

File tree

.github/workflows/release-package.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -14,44 +14,44 @@ jobs:
1414
with:
1515
fetch-depth: 0
1616

17-
- name: Setup node
18-
uses: actions/setup-node@v2
19-
with:
20-
node-version: '16'
21-
registry-url: https://registry.npmjs.org/
17+
# - name: Setup node
18+
# uses: actions/setup-node@v2
19+
# with:
20+
# node-version: '16'
21+
# registry-url: https://registry.npmjs.org/
2222

23-
- name: Install pnpm
24-
uses: pnpm/action-setup@v2
25-
with:
26-
version: 7
27-
run_install: false
23+
# - name: Install pnpm
24+
# uses: pnpm/action-setup@v2
25+
# with:
26+
# version: 7
27+
# run_install: false
2828

29-
# Use cache to reduce installation time
30-
- name: Get pnpm store directory
31-
id: pnpm-cache
32-
shell: bash
33-
run: |
34-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
29+
# # Use cache to reduce installation time
30+
# - name: Get pnpm store directory
31+
# id: pnpm-cache
32+
# shell: bash
33+
# run: |
34+
# echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
3535

36-
- uses: actions/cache@v3
37-
name: Setup pnpm cache
38-
with:
39-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
40-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
41-
restore-keys: |
42-
${{ runner.os }}-pnpm-store-
36+
# - uses: actions/cache@v3
37+
# name: Setup pnpm cache
38+
# with:
39+
# path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
40+
# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
41+
# restore-keys: |
42+
# ${{ runner.os }}-pnpm-store-
4343

44-
- name: Install dependencies
45-
run: pnpm install --frozen-lockfile
44+
# - name: Install dependencies
45+
# run: pnpm install --frozen-lockfile
4646

47-
- name: Build
48-
run: pnpm run build
47+
# - name: Build
48+
# run: pnpm run build
4949

50-
- name: publish
51-
working-directory: 'packages/core'
52-
env:
53-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
54-
run: npm publish
50+
# - name: publish
51+
# working-directory: 'packages/core'
52+
# env:
53+
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
54+
# run: npm publish
5555

5656
# 下面主要是创建 github 的release
5757
# 需要手动修改 package.json 版本

0 commit comments

Comments
 (0)