From 267d29904476568bd8ec1703b91b965db682f33c Mon Sep 17 00:00:00 2001 From: PiterOfc Date: Fri, 8 Mar 2024 21:33:40 -0300 Subject: [PATCH] Fix workflow --- .github/workflows/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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