mirror of
https://github.com/tenrok/axios.git
synced 2026-05-24 14:04:14 +03:00
e6d71017d3
Bumps the github-actions group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `4` | `5` | | [tj-actions/changed-files](https://github.com/tj-actions/changed-files) | `46` | `47` | | [actions/setup-node](https://github.com/actions/setup-node) | `4` | `5` | | [github/codeql-action](https://github.com/github/codeql-action) | `3` | `4` | | [actions/labeler](https://github.com/actions/labeler) | `5` | `6` | | [actions/stale](https://github.com/actions/stale) | `9` | `10` | Updates `actions/checkout` from 4 to 5 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) Updates `tj-actions/changed-files` from 46 to 47 - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v46...v47) Updates `actions/setup-node` from 4 to 5 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4...v5) Updates `github/codeql-action` from 3 to 4 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v3...v4) Updates `actions/labeler` from 5 to 6 - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/v5...v6) Updates `actions/stale` from 9 to 10 - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v9...v10) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: tj-actions/changed-files dependency-version: '47' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/setup-node dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: github/codeql-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/labeler dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/stale dependency-version: '10' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
72 lines
1.9 KiB
YAML
72 lines
1.9 KiB
YAML
name: 'CI'
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
- '*/*'
|
|
- '**'
|
|
- '!sponsors'
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
- '*/*'
|
|
- '**'
|
|
- '!sponsors'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [12.x, 14.x, 16.x, 18.x, 20.x, 22.x, 24.x]
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
persist-credentials: true
|
|
- name: Get changed files
|
|
id: changed-files
|
|
uses: tj-actions/changed-files@v47
|
|
- name: List all changed files
|
|
run: |
|
|
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
|
|
echo "$file was changed"
|
|
done
|
|
- name: Check changes
|
|
id: changed-ignored
|
|
uses: tj-actions/changed-files@v47
|
|
with:
|
|
files: |
|
|
**.md
|
|
sandbox/**
|
|
examples/**
|
|
.github/**
|
|
templates/**
|
|
bin/**
|
|
- name: Setup node
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: npm
|
|
if: steps.changed-ignored.outputs.only_modified == 'false'
|
|
- run: npm ci
|
|
if: steps.changed-ignored.outputs.only_modified == 'false'
|
|
- run: npm run build
|
|
if: steps.changed-ignored.outputs.only_modified == 'false'
|
|
- name: Run Server tests
|
|
run: npm run test:node
|
|
if: steps.changed-ignored.outputs.only_modified == 'false'
|
|
# We run browser tests only on one version of the node, since client tests do not depend on the server environment.
|
|
- name: Run browser tests
|
|
run: npm run test:browser
|
|
if: steps.changed-ignored.outputs.only_modified == 'false' && matrix.node-version == '22.x'
|
|
- name: Run package tests
|
|
run: npm run test:package
|
|
if: steps.changed-ignored.outputs.only_modified == 'false'
|