name: Main workflow on: workflow_dispatch: pull_request: push: schedule: - cron: 0 0 * * 5 jobs: plugin_test: strategy: matrix: os: - macos-latest - ubuntu-latest runs-on: ${{ matrix.os }} steps: - name: Checkout code uses: actions/checkout@v2 - name: Install system packages on Ubuntu if: ${{ runner.os == 'Linux' }} run: sudo apt-get install curl - name: Install system packages on macOS if: ${{ runner.os == 'macOS' }} run: brew install coreutils - name: Test plugin uses: asdf-vm/actions/plugin-test@v1 with: command: node --version