Enhance tagging strategy: mark major version as the latest one #41
Workflow file for this run
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: check dist | |
on: | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
check-dist: | |
name: π¦ Check dist | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Install packages | |
run: npm ci | |
- name: Check if TypeScript is compiled | |
run: | | |
npm run build | |
git diff --name-only --exit-code dist/ |