diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ea5b5bd..435ab53 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -11,20 +11,17 @@ on: jobs: build: - runs-on: ubuntu-latest - strategy: matrix: - node-version: [14.x, 16.x, 18.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - + node-version: [14, 16] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm i - - run: npm test + - name: Install Dependencies + run: npm ci + - name: Run tests + run: npm run test