diff --git a/.github/workflows/units-tests.yml b/.github/workflows/units-tests.yml index 839ec1d..1664101 100644 --- a/.github/workflows/units-tests.yml +++ b/.github/workflows/units-tests.yml @@ -9,15 +9,19 @@ on: jobs: unit-tests: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x] steps: - name: Checkout code uses: actions/checkout@v3 + with: + node-version: ${{ matrix.node-version }} - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: 18 - registry-url: https://registry.npmjs.org/ + node-version: ${{ matrix.node-version }} - name: Install dependencies run: npm install