mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [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/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
29 lines
618 B
YAML
29 lines
618 B
YAML
name: 'CI'
|
|
on:
|
|
pull_request:
|
|
paths-ignore: [ '**.md' ]
|
|
push:
|
|
paths-ignore: [ '**.md' ]
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-test:
|
|
name: Build & Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: node --version
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- run: npm run format-check
|
|
- run: npm run lint
|
|
- run: npm test
|
|
|
|
- name: Upload test results
|
|
if: success() || failure()
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: test-results
|
|
path: __tests__/__results__/*.xml
|