File tree Expand file tree Collapse file tree 5 files changed +897
-16
lines changed
Expand file tree Collapse file tree 5 files changed +897
-16
lines changed Original file line number Diff line number Diff line change 1+ # Changesets
2+
3+ Hello and welcome! This folder has been automatically generated by ` @changesets/cli ` , a build tool that works
4+ with multi-package repos, or single-package repos to help you version and publish your code. You can
5+ find the full documentation for it [ in our repository] ( https://github.com/changesets/changesets )
6+
7+ We have a quick list of common questions to get you started engaging with this project in
8+ [ our documentation] ( https://github.com/changesets/changesets/blob/main/docs/common-questions.md )
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://unpkg.com/@changesets/config@2.3.0/schema.json" ,
3+ "changelog" : " @changesets/cli/changelog" ,
4+ "commit" : false ,
5+ "fixed" : [],
6+ "linked" : [],
7+ "access" : " restricted" ,
8+ "baseBranch" : " main" ,
9+ "updateInternalDependencies" : " patch" ,
10+ "ignore" : []
11+ }
Original file line number Diff line number Diff line change 6161 - run : yarn build
6262 - run : yarn lint
6363 - run : yarn typecheck
64+ release :
65+ name : Run publish action
66+ if : ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/next') }}
67+ needs : [lint, test-node, test-os]
68+ runs-on : ubuntu-latest
69+ steps :
70+ - name : Checkout Repo
71+ uses : actions/checkout@v3
72+
73+ - name : Setup Node.js
74+ uses : actions/setup-node@v3
75+ with :
76+ node-version : lts/*
77+ cache : yarn
78+
79+ - name : Install Dependencies
80+ run : yarn
81+
82+ - name : Create Release Pull Request or Publish to npm
83+ id : changesets
84+ uses : changesets/action@v1
85+ with :
86+ publish : yarn changeset publish
87+ env :
88+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
89+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 3838 "@babel/cli" : " ^7.0.0" ,
3939 "@babel/core" : " ^7.0.0" ,
4040 "@babel/preset-env" : " ^7.14.7" ,
41+ "@changesets/cli" : " ^2.26.0" ,
4142 "@jest/expect-utils" : " ^29.0.0" ,
4243 "@types/jest" : " ^29.0.0" ,
4344 "@typescript-eslint/eslint-plugin" : " ^5.30.6" ,
You can’t perform that action at this time.
0 commit comments