File tree Expand file tree Collapse file tree 1 file changed +4
-30
lines changed
Expand file tree Collapse file tree 1 file changed +4
-30
lines changed Original file line number Diff line number Diff line change 11name : Node CI
2- on :
2+ on :
33 push :
4- branches :
4+ branches :
55 - ' **'
66 release :
77 types : [published]
@@ -57,58 +57,32 @@ jobs:
5757 shell : pwsh
5858
5959 publish :
60+ needs : [build-test-linux, build-test-windows]
6061 if : github.event_name == 'release' && github.event.type == 'published'
6162 runs-on : ubuntu-18.04
6263
6364 strategy :
6465 matrix :
6566 node-version : [12.x]
6667
67- steps :
68+ steps :
6869 - uses : actions/checkout@v1
6970 - name : Use Node.js ${{ matrix.node-version }}
7071 uses : actions/setup-node@v1
7172 with :
7273 node-version : ${{ matrix.node-version }}
7374 - name : Install deps
74- if : github.event_name == 'release' && github.event.type == 'published'
7575 run : |
7676 npm install -g vsce
7777 npm ci
7878 - name : Package extension
79- if : github.event_name == 'release' && github.event.type == 'published'
8079 run : |
8180 tag=${GITHUB_REF#refs/tags/}
8281 echo "Setting package version $tag"
8382 npm --no-git-tag-version version "$tag"
8483 vsce package
8584 - name : Publish extension to marketplace
86- if : github.event_name == 'release' && github.event.type == 'published'
8785 env :
8886 AZURE_TOKEN : ${{ secrets.AZURE_TOKEN }}
8987 run : |
9088 vsce publish -p "$AZURE_TOKEN"
91-
92-
93- # build-test-macos:
94- # runs-on: macOS-10.14
95-
96- # strategy:
97- # matrix:
98- # node-version: [12.x]
99-
100- # steps:
101- # - uses: actions/checkout@v1
102- # - name: Use Node.js ${{ matrix.node-version }}
103- # uses: actions/setup-node@v1
104- # with:
105- # node-version: ${{ matrix.node-version }}
106- # - uses: actions/setup-java@v1
107- # with:
108- # java-version: '12.0.2'
109- # architecture: x64
110- # - name: Build & test extension
111- # run: |
112- # npm ci
113- # npm run lint
114- # npm test
You can’t perform that action at this time.
0 commit comments