2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

Add Node.js 22 to CI version matrix (#6633)

* CI: add Node.js 22, drop non-LTS 21

* CI: update actions versions 3 -> 4

Previous actions version showed deprecation warnings when run. Update them to V4
This commit is contained in:
Sampo Silvennoinen
2024-10-07 12:58:50 +03:00
committed by GitHub
parent c96aa6257f
commit 023efb6f03
+3 -3
View File
@@ -23,11 +23,11 @@ jobs:
strategy: strategy:
matrix: matrix:
node-version: [12.x, 14.x, 16.x, 18.x, 20.x, 21.x] node-version: [12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
persist-credentials: true persist-credentials: true
- name: Get changed files - name: Get changed files
@@ -50,7 +50,7 @@ jobs:
templates/** templates/**
bin/** bin/**
- name: Setup node - name: Setup node
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm