Skip to content

Commit

Permalink
ci: fix automatic JS release workflow (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
fospring authored Apr 2, 2024
1 parent 1f8f781 commit e07bbf0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
run: npm install

- name: Build Packages
run: npm build
run: npm run build

- name: Create Release Pull Request or Publish to NPM
# use changesets/action to create PR and auto release
uses: changesets/action@v1
with:
publish: npm release
publish: npm run release
commit: "chore(release): publish packages"
title: "Publish packages"
createGithubReleases: true
Expand Down
8 changes: 8 additions & 0 deletions npm/.changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
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)
11 changes: 11 additions & 0 deletions npm/.changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}

0 comments on commit e07bbf0

Please sign in to comment.