Skip to content

Commit

Permalink
Update CI to test lts nodes from 14 through 20 and non-lts 21
Browse files Browse the repository at this point in the history
  • Loading branch information
matux committed Mar 7, 2024
1 parent c281de1 commit c6b878d
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,42 @@ name: Rollbar.js CI

on:
push:
branches: [ master ]
tags: [ v* ]
branches: [master]
tags: [v*]
pull_request:
branches: [ master ]
branches: [master]

jobs:
build:
runs-on: ubuntu-20.04

strategy:
matrix:
node-version: [10, 12, 14, 16]
include:
- node: 14
npm: 8
- node: 16
npm: 8
- node: 18
npm: 9
- node: 20
npm: 10
- node: latest
npm: latest

steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive

- name: Install node.js
uses: actions/setup-node@v2-beta
- name: Set up node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node }}

- name: Update npm
run: npm install -g npm@^${{ matrix.npm }}

- name: npm install
run: npm install
Expand Down

0 comments on commit c6b878d

Please sign in to comment.