Skip to content

Commit

Permalink
cicd: commit snapshot versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
chmanie committed Mar 19, 2024
1 parent b8c2a9b commit 86040ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
NODE_OPTIONS: --max-old-space-size=4096
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore: Generate docs"
commit_message: "chore: generate docs"
5 changes: 4 additions & 1 deletion .github/workflows/release-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ jobs:
NODE_OPTIONS: --max-old-space-size=4096
- name: Version snapshot
run: npx changeset version --snapshot next && pnpm install --lockfile-only
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore: version snapshot"
- name: Publish snapshot to npm
run: npx changeset publish --no-git-tag --snapshot
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 86040ff

Please sign in to comment.