Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
modify Main workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Jelinek <djelinek@redhat.com>
  • Loading branch information
djelinek committed Feb 15, 2024
1 parent 29e46da commit cbc2e2c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:

env:
CODE_VERSION: max
TEST_RESOURCES: test-resources
TEST_RESOURCES: test-res

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.15.x
cache: npm
Expand All @@ -47,6 +47,13 @@ jobs:
run: |
xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' npm test
- name: Upload Screenshots
uses: actions/upload-artifact@v4
if: failure()
with:
name: screenshots-${{ matrix.os }}
path: ${{ github.workspace }}/test/**/screenshots/*.png

check:
if: always()
runs-on: ubuntu-latest
Expand All @@ -65,4 +72,4 @@ jobs:
if: ${{ needs.main.result != 'success' }}
run: |
echo "Status Check failed!"
exit 1
exit 1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ test-extensions
.npmrc
.vscode-test
test/utils-test-project/package-lock.json
test-res
1 change: 1 addition & 0 deletions test/utils-test-project/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ vsc-extension-quickstart.md
test-resources/**
test-extensions/**
resources
test-res/**

0 comments on commit cbc2e2c

Please sign in to comment.