Skip to content

Commit acf585c

Browse files
authored
Fix and simplify the release action
1 parent 522f104 commit acf585c

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,10 @@ jobs:
1010
name: Create release PR or publish to NPM
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@master
13+
- name: Setup environment with pnpm
14+
uses: danoc/pnpm-setup-composite-action@v2
1415
with:
15-
# Fetch all Git history so that Changesets can generate changelogs
16-
# with the correct commits
17-
fetch-depth: 0
18-
- name: Use Node.js 16.x
19-
uses: actions/setup-node@v1
20-
with:
21-
node-version: 16.x
22-
- name: Install dependencies
23-
run: |
24-
pnpm install --frozen-lockfile
16+
checkout-fetch-depth: '0'
2517
- name: Create release PR or publish to NPM
2618
uses: changesets/action@master
2719
with:

0 commit comments

Comments
 (0)