diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ce34731..4a38b3d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,8 +3,6 @@ on: push: branches: - main - - node - - node-ts pull_request: branches: - main @@ -13,33 +11,24 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: 'lts/*' - name: Install dependencies run: npm install - name: Lint files run: npm run lint test: name: Test - strategy: - matrix: - os: [ubuntu-latest] - node: [17.x, 16.x, 14.x, 12.x, "12.22.0"] - include: - - os: windows-latest - node: "16.x" - - os: macOS-latest - node: "16.x" - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node }} - - name: Install dependencies - run: npm install - - name: Run tests - run: npm run test \ No newline at end of file + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 'lts/*' + - name: Install dependencies + run: npm install + - name: Run tests + run: npm run test