feat(arcgis-rest-basemap-styles): improve method names, edge cases an… #173
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: Pre-Release Tests | |
| # On pushes to master (i.e. merging a PR) | |
| # run all tests, on win, macos, linux, on node 12 & 14 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| # Don't run if it's just markdown or doc files | |
| paths-ignore: | |
| - "**.md" | |
| - "docs/**" | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| node: [18, 20, 22] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Install Dependencies | |
| run: npm ci --legacy-peer-deps | |
| - name: Build | |
| run: npm run build | |
| - name: Lint | |
| run: npm run lint | |
| - name: Test in Node | |
| run: npm run test:node | |
| - name: Test in Chrome | |
| run: npm run test:chrome:ci | |
| - name: Test with Vitest | |
| run: npm run test:vitest |