Skip to content

Commit 5c0261d

Browse files
committed
fix(pipeline): fix CI
1 parent 2722104 commit 5c0261d

2 files changed

Lines changed: 15 additions & 5 deletions

File tree

.github/workflows/vscodepublish.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,28 @@ env:
88
PUBLISHER_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
99

1010
jobs:
11-
npmInstall:
12-
name: Tests
13-
runs-on: ubuntu-latest
11+
build:
12+
name: Build
13+
strategy:
14+
matrix:
15+
os: [macos-latest, ubuntu-latest, windows-latest]
16+
runs-on: ${{ matrix.os }}
1417
steps:
18+
- name: Checkout
1519
- uses: actions/checkout@v2
20+
- name: Install Node.js
1621
- uses: actions/setup-node@v1
1722
with:
1823
node-version: "10.x"
1924
- run: yarn
2025
- run: npm list --production --parseable --depth=99999 --loglevel=error
2126
- run: yarn lint
22-
- run: yarn test
27+
- name: Run tests
28+
uses: GabrielBB/xvfb-action@v1.0
29+
with:
30+
run: yarn test
31+
- name: Prepare release
2332
- run: yarn compile
2433
- run: npx github-release-from-changelog
34+
- name: Publish
2535
- run: npx vsce publish -p $PUBLISHER_TOKEN

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# react-toolkit ![GitHub Workflow Status](https://raster.shields.io/github/workflow/status/CodersAKL/react-toolkit/Release%20Vscode%20Plugin.png) ![GitHub package.json version](https://img.shields.io/github/package-json/v/CodersAKL/react-toolkit.png)
1+
# react-toolkit ![GitHub Workflow Status](https://raster.shields.io/github/workflow/status/CodersAKL/react-toolkit/Build.png) ![GitHub package.json version](https://img.shields.io/github/package-json/v/CodersAKL/react-toolkit.png)
22

33
This is VsCode plugin suppose to help developers convert their project to typescript.
44

0 commit comments

Comments
 (0)