This repository was archived by the owner on Feb 7, 2023. It is now read-only.
File tree 9 files changed +4683
-116
lines changed
9 files changed +4683
-116
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/[email protected] /schema.json" ,
3
+ "changelog" : " @changesets/cli/changelog" ,
4
+ "commit" : false ,
5
+ "linked" : [],
6
+ "access" : " restricted" ,
7
+ "baseBranch" : " master" ,
8
+ "updateInternalDependencies" : " patch" ,
9
+ "ignore" : []
10
+ }
Original file line number Diff line number Diff line change
1
+ ---
2
+ " @cloudflare/workers-types " : patch
3
+ ---
4
+
5
+ CI/CD Improvements:
6
+
7
+ - Added Changeset PR creation & publish Workflows
8
+ - Added Typechecking workflow
9
+ - Consolidated old workflows as jobs in new workflows
10
+ - Added configuration for Changeset CLI
11
+ - Installing Changeset bot for non-blocking PR support
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+
2
+ name : Release
3
+
4
+ on :
5
+ pull_request :
6
+ types : [closed]
7
+
8
+ jobs :
9
+ documentation :
10
+ if : ${{ github.event.pull_request.merged == true }}
11
+ name : Check Docs & Overrides
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - name : Setup Node.js 16.7
16
+ uses : actions/setup-node@v2
17
+ with :
18
+ node-version : 16.7
19
+
20
+ - name : Install NPM
21
+ run : npm install
22
+
23
+ - name : Check Docs
24
+ run : npm run export:docs
25
+ - name : Check Overrides
26
+ run : npm run export:overrides
27
+
28
+ release :
29
+ if : ${{ github.event.pull_request.merged == true }}
30
+ needs : [documentation]
31
+ name : Release
32
+ runs-on : ubuntu-latest
33
+ steps :
34
+ - name : Checkout Repo
35
+ uses : actions/checkout@v2
36
+ with :
37
+ fetch-depth : 0
38
+
39
+ - name : Setup Node.js 16.7
40
+ uses : actions/setup-node@v2
41
+ with :
42
+ node-version : 16.7
43
+
44
+ - name : Install NPM
45
+ run : npm install
46
+
47
+ - name : Publish to NPM
48
+ id : changesets
49
+ uses : changesets/action@v1
50
+ with :
51
+ publish : npx changeset publish
52
+ env :
53
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
54
+ NPM_PUBLISH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Tests, Linter & Typecheck
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ types :
9
+ - opened
10
+
11
+ jobs :
12
+ lint :
13
+ name : ' Linting Markdown: ${{ matrix.os }} (node@${{ matrix.node_version }})'
14
+ runs-on : ${{ matrix.os }}
15
+ strategy :
16
+ matrix :
17
+ os : [ubuntu-latest]
18
+ node_version : [16.7]
19
+ fail-fast : false
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+ - name : Setup Node.js 16.7
23
+ uses : actions/setup-node@v2
24
+ with :
25
+ node-version : 16.7
26
+ -
run :
npm install -g [email protected]
27
+ - run : markdownlint '**/*.md' --ignore node_modules
28
+ test :
29
+ name : ' Typechecking: ${{ matrix.os }} (node@${{ matrix.node_version }})'
30
+ runs-on : ${{ matrix.os }}
31
+ strategy :
32
+ matrix :
33
+ os : [ubuntu-latest]
34
+ node_version : [16.7]
35
+ fail-fast : false
36
+ steps :
37
+ - name : Checkout
38
+ uses : actions/checkout@v2
39
+
40
+ - uses : actions/cache@v2
41
+ with :
42
+ path : ~/.npm
43
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
44
+ restore-keys : |
45
+ ${{ runner.os }}-node-
46
+
47
+ - name : Install NPM dependencies
48
+ run : npm install
49
+
50
+ - name : Run Type Checking
51
+ # TODO remove the --skipLibCheck flag at some point
52
+ run : tsc
You can’t perform that action at this time.
0 commit comments