File tree Expand file tree Collapse file tree 5 files changed +5050
-222
lines changed
Expand file tree Collapse file tree 5 files changed +5050
-222
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - " main"
7+ - " next"
78 # Github Actions don't support YAML anchors yet, so we have to repeat
89 # the paths-ignore in both push and pull_request events.
910 # More info: https://github.com/actions/runner/issues/1182
1516 pull_request :
1617 branches :
1718 - " main"
19+ - " next"
1820 paths-ignore :
1921 - " .husky/**"
2022 - " .vscode/**"
2830 contents : read
2931 uses : ./.github/workflows/lint.yml
3032
31- build-jetbrains :
33+ build :
3234 name : Build
3335 permissions :
3436 contents : read
Original file line number Diff line number Diff line change 1- name : Publish
1+ name : Lint & build & publish
22
33on :
44 push :
55 tags :
66 - " v*.*.*"
77
88jobs :
9- build :
9+ lint :
10+ name : Lint
11+ permissions :
12+ contents : read
13+ uses : ./.github/workflows/lint.yml
14+
15+ build-publish :
16+ name : Build & Publish
1017 runs-on : ubuntu-latest
18+ permissions :
19+ contents : write
20+ actions : read
1121 steps :
1222 - uses : actions/checkout@v4
1323 with :
@@ -16,17 +26,16 @@ jobs:
1626 - uses : actions/setup-node@v4
1727 with :
1828 node-version-file : " .nvmrc"
29+ cache : " npm"
1930
2031 - run : npm ci
2132
22- # TODO: add lint workflow call
23-
2433 - name : Get version
2534 id : version
2635 run : echo "version=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT
2736
2837 - name : Bump version in package.json
29- run : npm version ${{ steps.version.outputs.version }} --no-commit-hooks --no- git-tag-version
38+ run : npm version ${{ steps.version.outputs.version }} --no-git-tag-version
3039
3140 - name : Publish to Visual Studio Marketplace
3241 id : publishToVSMarketplace
Original file line number Diff line number Diff line change 33 // for the documentation about the extensions.json format
44 "recommendations" : [
55 " dbaeumer.vscode-eslint" ,
6- " stylelint.vscode-stylelint" ,
76 " davidanson.vscode-markdownlint" ,
87 " esbenp.prettier-vscode" ,
98 " streetsidesoftware.code-spell-checker"
You can’t perform that action at this time.
0 commit comments