Skip to content

Commit 241137f

Browse files
committed
Update workflow to support provenance
1 parent 92dd464 commit 241137f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
- name: Setup Node.js
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: 20
27+
node-version: lts/*
2828

2929
- name: Setup pnpm
3030
uses: pnpm/action-setup@v4
3131
with:
32-
version: 9
32+
version: latest
3333

3434
- name: Get pnpm store directory
3535
id: pnpm-cache
@@ -78,6 +78,7 @@ jobs:
7878
title: "chore: version packages"
7979
env:
8080
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81+
NPM_CONFIG_PROVENANCE: true
8182

8283
- name: Auto-merge non-major version PR
8384
if: steps.changesets.outputs.hasChangesets == 'true' && steps.changesets.outputs.pullRequestNumber != '' && steps.major.outputs.found == 'false'

0 commit comments

Comments
 (0)