Skip to content

Commit

Permalink
Merge pull request #7 from smakosh/fix/changeset
Browse files Browse the repository at this point in the history
fix: changeset
  • Loading branch information
smakosh authored Apr 16, 2024
2 parents 2ae2761 + 5a61783 commit 0496c14
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .changeset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ with multi-package repos, or single-package repos to help you version and publis
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
10 changes: 5 additions & 5 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "smakosh/roll-your-own-auth" }],
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["docs", "examples"]
}
"ignore": []
}
5 changes: 0 additions & 5 deletions .changeset/wet-eagles-leave.md

This file was deleted.

7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
version: 8.6.1
node-version: 18
node-version: '18'
cache: "pnpm"

- name: Install NPM Dependencies
Expand All @@ -36,13 +35,15 @@ jobs:
- name: Build the package
run: pnpm build:cli

- name: Prepare Version Changes
run: node .github/changeset-version.js

- name: Create Version PR or Publish to NPM
id: changesets
uses: changesets/action@v1.4.1
with:
commit: "chore(release): version packages"
title: "chore(release): version packages"
version: node .github/changeset-version.js
publish: npx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 0496c14

Please sign in to comment.