feat: standardize the className of the axis #277
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| strategy: | |
| matrix: | |
| node-version: [22.17.0] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check macOS version | |
| run: sw_vers | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run CI tasks | |
| run: npm run ci | |
| - name: Upload test coverage | |
| if: success() && matrix.node-version == 20 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-report | |
| path: coverage/ | |
| retention-days: 7 | |
| - name: Upload snapshots | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: snapshots-node-${{ matrix.node-version }} | |
| path: | | |
| __tests__/integration/snapshots/*-actual.svg | |
| __tests__/integration/snapshots/*-diff.svg | |
| retention-days: 3 | |
| if-no-files-found: ignore |