Skip to content

ci: CI Testing

ci: CI Testing #2

Workflow file for this run

# This configuration is based on documentation here:
# https://github.com/stateful/vscode-awesome-ux/blob/main/docs/TestingExtensions.md#run-tests-in-cicd
name: End-to-end Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
# Not sure why this is targetting macos, just following the link referenced above
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
- run: npm install
- name: Run tests
uses: GabrielBB/xvfb-action@v1.0
with:
run: test:e2e