Version Packages #2476
This file contains 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: Semver | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
break-check: | |
name: Break Check | |
runs-on: ubuntu-latest | |
timeout-minutes: 9 | |
services: | |
postgres: | |
image: postgres:17.1-alpine3.20 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: your_password | |
POSTGRES_DB: testdb | |
ports: | |
- 5432:5432 | |
options: >- | |
--health-cmd pg_isready --health-interval 1s --health-timeout 0.5s --health-retries 30 | |
outputs: | |
atom.io: ${{ steps.break-check.outputs.atom.io }} | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Set up pnpm | |
uses: pnpm/[email protected] | |
- name: Set up Node | |
uses: actions/[email protected] | |
with: | |
node-version-file: .node-version | |
cache: "pnpm" | |
- name: Set up Bun | |
uses: oven-sh/[email protected] | |
with: | |
bun-version-file: .bun-version | |
- name: Install Dependencies | |
run: pnpm i | |
- name: Break Check | |
id: break-check | |
run: pnpm run test:semver |