Skip to content

pulsar-edit/action-pulsar-dependency

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pulsar dependency Github Action

This Action can be used to test a Pulsar package.

name: CI
on:
  - push
  - pull_request
jobs:
  test:
    name: Test
    strategy:
      matrix:
        os: [ubuntu-20.04, macos-latest, windows-2019]
      fail-fast: false
    runs-on: ${{ matrix.os }}
    steps:
      - name: Checkout the Latest Package Code
        uses: actions/checkout@v3
      - name: Setup Pulsar Editor
        uses: pulsar-edit/[email protected]
      - name: Run the headless Pulsar Tests
        uses: coactions/[email protected]
        with:
          run: pulsar --test spec

The above is a valid workflow for any package repository.

Otherwise using coactions/setup-xvfb is recommended because otherwise the tests will attempt to startup Electron from Pulsar and fail when they are unable to connect to a display.

Using coactions/setup-xvfb over GabrielBB/xvfb-action is recommended because it appears unmaintained anymore, and Nodejs 12 actions are deprecated