Skip to content

Commit

Permalink
Try matrix node
Browse files Browse the repository at this point in the history
  • Loading branch information
uigywnkiub committed Dec 1, 2023
1 parent 73cc337 commit bb0576d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,22 @@ on:
- main

env:
NODE_VERSION: 18
NODE_VERSION: lts/*

jobs:
deploy:
name: Deploying
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16, 18]
permissions:
contents: write
steps:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ matrix.node }}
cache: "npm"

- name: Code Checkout
Expand Down

0 comments on commit bb0576d

Please sign in to comment.