Skip to content

Commit

Permalink
ci: Set publish-branch=typescript-v2 whilst testing alpha releases
Browse files Browse the repository at this point in the history
  • Loading branch information
mheap committed Nov 24, 2023
1 parent 8faeb36 commit f23442d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:
- name: Run tests
run: pnpm test

- name: Create Release Pull Request or Publish to npm
- name: Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm publish
publish: pnpm publish --publish-branch=typescript-v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"scripts": {
"test": "pnpm -r test",
"dev": "pnpm -r --parallel dev",
"build": "pnpm -r build",
"publish": "pnpm changeset publish"
"build": "pnpm -r build"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit f23442d

Please sign in to comment.