File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release Beta
2+ on :
3+ push :
4+ branches :
5+ - dev
6+
7+ jobs :
8+ publish-beta :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ contents : write
12+ id-token : write
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
16+ with :
17+ node-version : 20
18+ registry-url : https://registry.npmjs.org/
19+
20+ - run : npm ci
21+ - run : npm run build
22+
23+ # Increment beta version and publish
24+ - name : Version Beta
25+ run : |
26+ CURRENT_VERSION=$(node -p "require('./packages/express/package.json').version")
27+ npm version prerelease --preid=beta -m "chore(release): beta %s"
28+ git push --follow-tags
29+
30+ - name : Publish Beta
31+ run : npm publish --tag beta --access public
32+ env :
33+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Release Stable
2+ on :
3+ push :
4+ branches :
5+ - main
6+
7+ jobs :
8+ publish-stable :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ contents : write
12+ id-token : write
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
16+ with :
17+ node-version : 20
18+ registry-url : https://registry.npmjs.org/
19+
20+ - run : npm ci
21+ - run : npm run build
22+
23+ # Increment patch
24+ - name : Version Patch
25+ run : |
26+ npm version patch -m "chore(release): %s"
27+ git push --follow-tags
28+
29+ - name : Publish Stable
30+ run : npm publish --access public
31+ env :
32+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Release Tag
2+ on :
3+ push :
4+ tags :
5+ - ' v*'
6+
7+ jobs :
8+ publish-tag :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ contents : write
12+ id-token : write
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
16+ with :
17+ node-version : 20
18+ registry-url : https://registry.npmjs.org/
19+
20+ - run : npm ci
21+ - run : npm run build
22+
23+ - name : Publish from Tag
24+ run : npm publish --access public
25+ env :
26+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
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@3.1.1/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+ }
You can’t perform that action at this time.
0 commit comments