File tree 8 files changed +875
-36
lines changed
8 files changed +875
-36
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
+ " expo-speech-recognition " : patch
3
+ ---
4
+
5
+ Initial release!
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " https://unpkg.com/@changesets/config@3.0.3/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 1
- name : Check ESLint
1
+ name : Lint
2
2
3
3
on :
4
- pull_request :
5
-
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - main
8
+
6
9
jobs :
7
- eslint :
8
- name : ESLint
9
- runs-on : ubuntu-latest
10
- steps :
11
- - name : π Setup repo
12
- uses : actions/checkout@v4
10
+ eslint :
11
+ name : ESLint
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : π Setup repo
15
+ uses : actions/checkout@v4
13
16
14
- - name : π¦ Install dependencies
15
- run : npm install
17
+ - name : π¦ Install dependencies
18
+ run : npm install
16
19
17
- - name : π€ Run ESLint
18
- run : npm run lint
20
+ - name : π€ Run ESLint
21
+ run : npm run lint
Original file line number Diff line number Diff line change
1
+ name : Publish
2
+ on :
3
+ workflow_run :
4
+ workflows : ["Run Typescript", "Lint"]
5
+ branches : [main]
6
+ types : [completed]
7
+
8
+ concurrency : ${{ github.workflow }}-${{ github.ref }}
9
+
10
+ permissions :
11
+ contents : write
12
+ pull-requests : write
13
+
14
+ jobs :
15
+ publish :
16
+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ - uses : actions/setup-node@v4
21
+ with :
22
+ node-version : 20.x
23
+ cache : " npm"
24
+
25
+ - run : npm ci
26
+ - name : Create Release Pull Request or Publish
27
+ id : changesets
28
+ uses : changesets/action@v1
29
+ with :
30
+ publish : npm run release
31
+ env :
32
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1
1
name : Run Typescript
2
2
3
3
on :
4
- pull_request :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - main
5
8
6
9
jobs :
7
- typescript-check :
8
- name : Typescript check
9
- runs-on : ubuntu-latest
10
- steps :
11
- - name : π Setup repo
12
- uses : actions/checkout@v4
10
+ typescript-check :
11
+ name : Typescript check
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : π Setup repo
15
+ uses : actions/checkout@v4
13
16
14
- - name : π¦ Install dependencies
15
- run : npm install
17
+ - name : π¦ Install dependencies
18
+ run : npm install
16
19
17
- - name : π Run Typescript check
18
- run : npm run ts:check
20
+ - name : π Run Typescript check
21
+ run : npm run ts:check
You canβt perform that action at this time.
0 commit comments