Main workflow #136
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |