We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d584b99 commit bfe4e35Copy full SHA for bfe4e35
.github/workflows/cicd.yml
@@ -38,3 +38,12 @@ jobs:
38
39
- name: Run tests
40
run: pnpm test
41
+
42
+ - name: Create Release Pull Request or Publish
43
+ if: github.ref == 'refs/heads/main'
44
+ uses: changesets/action@v1
45
+ with:
46
+ publish: pnpm run release
47
+ env:
48
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49
+ NPM_TOKEN: ${{ secrets.NPM_SECRET }}
0 commit comments