File tree Expand file tree Collapse file tree 6 files changed +8900
-5515
lines changed Expand file tree Collapse file tree 6 files changed +8900
-5515
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.1.1/schema.json" ,
3
+ "changelog" : " @changesets/cli/changelog" ,
4
+ "commit" : false ,
5
+ "fixed" : [],
6
+ "linked" : [[" vscode-css-variables" , " css-variables-language-server" ]],
7
+ "access" : " public" ,
8
+ "baseBranch" : " master" ,
9
+ "updateInternalDependencies" : " patch" ,
10
+ "ignore" : []
11
+ }
Original file line number Diff line number Diff line change 8
8
name : Test
9
9
strategy :
10
10
matrix :
11
- os : [macos-latest, ubuntu-latest, windows-latest]
11
+ os : [ubuntu-latest, windows-latest]
12
12
runs-on : ${{ matrix.os }}
13
13
steps :
14
14
- name : Checkout
15
15
uses : actions/checkout@v2
16
- with :
17
- path : cssvar
18
16
- name : Setup Node.js
19
- uses : actions/setup-node@v1
17
+ uses : actions/setup-node@v2
20
18
with :
21
19
node-version : 16.16.0
22
20
- name : Install dependencies
23
21
run : npm install
24
22
- name : Run headless test
25
23
uses : GabrielBB/xvfb-action@v1.0
26
24
with :
27
- run : npm test
28
-
29
- publish :
30
- name : Release and publish
31
- needs : test
32
- runs-on : ubuntu-18.04
33
- steps :
34
- - name : Checkout
35
- uses : actions/checkout@v2
36
- with :
37
- path : cssvar
38
- - name : Setup Node.js
39
- uses : actions/setup-node@v1
40
- with :
41
- node-version : 16.16.0
42
- - name : Install dependencies
43
- run : npm install
44
- - name : Release
45
- env :
46
- GITHUB_TOKEN : ${{ secrets.PERSONAL_GITHUB_TOKEN }}
47
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
48
- run : npx semantic-release
49
- - name : Vscode release plugin
50
- uses : JCofman/vscodeaction@master
51
- env :
52
- PUBLISHER_TOKEN : ${{ secrets.PUBLISHER_TOKEN }}
53
- with :
54
- args : publish -p $PUBLISHER_TOKEN
25
+ run : npm test
Original file line number Diff line number Diff line change
1
+ name : Changelog
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ release :
10
+ name : Changelog
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Check out branch
14
+ uses : actions/checkout@v2
15
+ with :
16
+ fetch-depth : 0 # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
17
+
18
+ - name : Set up Node.js 16.16.0
19
+ uses : actions/setup-node@v2
20
+ with :
21
+ node-version : 16.16.0
22
+
23
+ - name : Install dependencies
24
+ run : npm install
25
+ env :
26
+ CI : true
27
+
28
+ - name : Create Release Pull Request or Publish to npm
29
+ id : changesets
30
+ uses : changesets/action@v1
31
+ # with:
32
+ # publish: yarn release
33
+ env :
34
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
+ # NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
36
+
37
+ # - name: Publish to VSCode Marketplace
38
+ # if: steps.changesets.outputs.published == 'true'
39
+ # working-directory: ./packages/vscode-css-variables
40
+ # run: |
41
+ # npm i
42
+ # npx vsce publish -p ${{ secrets.VSCE_TOKEN }}
43
+ # - name: Publish to OpenVSX
44
+ # if: steps.changesets.outputs.published == 'true'
45
+ # working-directory: ./packages/vscode-css-variables
46
+ # run: |
47
+ # npm i
48
+ # npx ovsx publish -p ${{ secrets.OVSX_TOKEN }}
You can’t perform that action at this time.
0 commit comments