/
githubmirror
/
html5-boilerplate
Обзор
Документация
Войти
/
githubmirror
/
html5-boilerplate
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/test.yml
42 строки
1 KB
dependabot[bot]
chore(deps): bump the github-actions group across 1 directory with 6 updates (#3462)
01 июл 2026, 23:45
Не верифицирован
01 июл 2026, 23:45
227dbf7
Код
Авторство
О чём код?
name: Build status on: push: branches: [main] pull_request: branches: [main] workflow_dispatch: permissions: contents: read jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: node-version: - 22 - 24 - 26 os: [ubuntu-latest, windows-latest] steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Get npm cache directory id: npm-cache shell: bash run: | echo "dir=$(npm config get cache)" >> "$GITHUB_OUTPUT" - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- - name: Run tests ${{ matrix.node-version }} uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm test