diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48db313..3adfce8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,15 +8,17 @@ on: jobs: build: runs-on: ubuntu-latest - + strategy: + matrix: + node-version: [14.x, 16.x, 18.x, 20.x] steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - name: Set up Node.js - uses: actions/setup-node@v2 + - name: Set up Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 with: - node-version: 19 + node-version: ${{ matrix.node-version }} - name: Install dependencies run: npm install