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: Parallel Multi-OS App Testing | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
app: [act] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18.17' | |
- name: Install pnpm | |
run: npm install -g pnpm@9 tsx | |
- name: Install dev | |
run: pnpm i | |
- name: Test ${{ matrix.app }} | |
run: pnpm plop test gobot,app:${{ matrix.app }} --no-progress |