2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-24 14:04:14 +03:00
Files
axios/.github/workflows/ci.yml
T
Dmitriy Mozgovoy 0abc705647 chore(ci): use package-lock in test & build github actions; (#5663)
* chore(test): use local typescript version for dtslint;
2023-04-19 20:09:31 +03:00

31 lines
514 B
YAML

name: 'CI'
on:
push:
branches: '**'
pull_request:
branches: '**'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm test