Skip to content

Commit

Permalink
Fix changeset publishing + add changeset CI (#4737)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Mysten committed Sep 21, 2022
1 parent 5b7b627 commit ec1d605
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["sui-explorer", "sui-dapp-sdk", "demo-nft-dapp"]
"ignore": ["sui-explorer", "demo-nft-dapp"]
}
22 changes: 22 additions & 0 deletions .github/workflows/changesets-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Changesets CI
on: pull_request
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: checkout code repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2.2.2
with:
version: 7
- name: Install Nodejs
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Attempt to create snapshots.
run: pnpm changeset version --snapshot test-do-not-publish

0 comments on commit ec1d605

Please sign in to comment.