diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 758f75a..4c7db05 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,11 +18,18 @@ jobs: - name: Check out the repository uses: actions/checkout@v2 - - name: Setup Node.js + - name: Setup Node.js 16.x (macos) + if: startsWith(matrix.os, 'macos') uses: actions/setup-node@v1 with: node-version: '16.x' + - name: Setup Node.js 14.x (ubuntu) + if: startsWith(matrix.os, 'ubuntu') + uses: actions/setup-node@v1 + with: + node-version: '14.x' + - name: Install dependencies run: npm install