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: [windows-latest] #[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 [email protected] | |
- name: Install deps | |
run: pnpm i | |
- name: Start verdaccio | |
run: \ | |
pnpm verdaccio:serve | |
sleep 5 | |
pnpm verdaccio:login | |
- name: Test ${{ matrix.app }} | |
run: pnpm plop test "app:${{ matrix.app }}" --no-progress |