chore(deps): update dependency srvx to v1 #1372
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: ci | |
| on: | |
| push: { branches: [main] } | |
| pull_request: { branches: [main] } | |
| jobs: | |
| tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - run: npm i -g --force corepack && corepack enable | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7 | |
| with: { node-version: lts/*, cache: pnpm } | |
| - run: pnpm install | |
| # Lint, build and type checks only need to run once | |
| - run: pnpm lint | |
| if: matrix.os == 'ubuntu-latest' | |
| - run: pnpm build | |
| if: matrix.os == 'ubuntu-latest' | |
| - run: pnpm test:types | |
| if: matrix.os == 'ubuntu-latest' | |
| - run: pnpm vitest --coverage | |
| - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7 | |
| if: matrix.os == 'ubuntu-latest' | |
| with: { token: "${{ secrets.CODECOV_TOKEN }}" } | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: { id-token: write, contents: read } | |
| needs: tests | |
| if: contains('refs/heads/main', github.ref) && github.event_name == 'push' | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| with: { fetch-depth: 0 } | |
| - run: npm i -fg corepack && corepack enable | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7 | |
| with: { node-version: lts/*, cache: "pnpm" } | |
| - run: pnpm install | |
| - run: pnpm changelogen --bump --canary nightly | |
| - run: npm i -g npm@latest && npm publish --tag latest |