Skip to content

Commit

Permalink
fix: workflow (keploy#6)
Browse files Browse the repository at this point in the history
Signed-off-by: Animesh Pathak <[email protected]>
  • Loading branch information
Sonichigo authored Jul 19, 2024
1 parent 1d58593 commit 643f4b7
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 4 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test and Build VSCode

on:
push:
branches:
- main

jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 18.x

- run: npm install

- run: xvfb-run -a npm test
if: runner.os == 'Linux'

- run: npm test
if: runner.os != 'Linux'
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish Extension

on:
workflow_run:
workflows: ["Test VsCode Extension"]
workflows: ["Test and Build VSCode"]
types:
- completed

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release

on:
workflow_run:
workflows: ["Test VsCode Extension"]
workflows: ["Test and Build VSCode"]
types:
- completed

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Test VsCode Extension

on:
push:
pull_request:
branches:
- master
- main


jobs:
build:
Expand Down

0 comments on commit 643f4b7

Please sign in to comment.