mirror of
https://github.com/asdf-vm/asdf-nodejs.git
synced 2024-10-06 07:42:08 +08:00
35 lines
673 B
YAML
35 lines
673 B
YAML
name: Main workflow
|
|
|
|
on:
|
|
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
|