chore: remove matrix from workflow

This commit is contained in:
martines3000
2024-04-08 11:10:23 +02:00
parent cab3ec88f8
commit 83001ed31b

View File

@@ -2,9 +2,6 @@ name: Build, Lint and Test
on: push
jobs:
build:
strategy:
matrix:
version: ['lts/*']
timeout-minutes: 7
runs-on: ubuntu-latest
steps:
@@ -14,14 +11,14 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.version }}
node-version: 'lts/*'
- name: Cache node modules
uses: actions/cache@v4
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: cache-${{ runner.os }}-${{ matrix.version }}-${{ hashFiles('**/package-lock.json') }}
key: cache-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm ci