Skip to content

Commit c43c89f

Browse files
committed
ci: fix release
1 parent 79f0ca9 commit c43c89f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 1
20+
fetch-tags: true
1821

1922
- name: Install pnpm
2023
uses: pnpm/action-setup@v4
@@ -34,7 +37,7 @@ jobs:
3437
run: pnpm lint
3538

3639
- name: Benchmark
37-
run: pnpm vitest bench --run | tee bench_results.txt
40+
run: pnpm vitest bench --run --no-color | tee bench_results.txt
3841
continue-on-error: true
3942

4043
- name: Get current version
@@ -54,9 +57,6 @@ jobs:
5457
echo "version_changed=false" >> $GITHUB_ENV
5558
fi
5659
57-
- name: Setup npmrc
58-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
59-
6060
- name: Publish to npm
6161
if: env.version_changed == 'true'
6262
env:

0 commit comments

Comments
 (0)