diff --git a/.github/workflows/netlify-dev.yaml b/.github/workflows/netlify-dev.yaml index b08a5c8..6719217 100644 --- a/.github/workflows/netlify-dev.yaml +++ b/.github/workflows/netlify-dev.yaml @@ -10,8 +10,16 @@ jobs: name: 'Deploy' runs-on: ubuntu-latest + strategy: + matrix: + node-version: [14.x, 15.x, 16x] + steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} - uses: jsmrcaga/action-netlify-deploy@master with: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} diff --git a/.github/workflows/netlify-prod.yaml b/.github/workflows/netlify-prod.yaml index 5d7f789..8b3ba1f 100644 --- a/.github/workflows/netlify-prod.yaml +++ b/.github/workflows/netlify-prod.yaml @@ -9,8 +9,16 @@ jobs: name: 'Deploy' runs-on: ubuntu-latest + strategy: + matrix: + node-version: [14.x, 15.x, 16x] + steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} - uses: jsmrcaga/action-netlify-deploy@master with: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}