diff --git a/.github/workflows/push-build.yaml b/.github/workflows/push-build.yaml index 0793be13..e7ad651d 100644 --- a/.github/workflows/push-build.yaml +++ b/.github/workflows/push-build.yaml @@ -4,16 +4,20 @@ on: jobs: cache-and-install: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + node-version: [ 16.x, 18.x ] + os: [ ubuntu-latest, windows-latest, macos-latest ] steps: - name: Checkout uses: actions/checkout@v3 - - name: Install Node.js + - name: Install Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: 16 + node-version: ${{ matrix.node-version }} - uses: pnpm/action-setup@v2 name: Install pnpm