Skip to content

chore(ci): drop github packages dual-publish #3

chore(ci): drop github packages dual-publish

chore(ci): drop github packages dual-publish #3

Workflow file for this run

name: validate
on:
pull_request:
concurrency:
group: validate-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Read pnpm version from .tool-versions
id: tool_versions
run: |
pnpm_version=$(grep '^pnpm ' .tool-versions | awk '{print $2}')
echo "pnpm=${pnpm_version}" >> "$GITHUB_OUTPUT"
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ steps.tool_versions.outputs.pnpm }}
run_install: false
- name: Install Node
uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Typecheck
run: pnpm typecheck
- name: Lint
run: pnpm lint
- name: No-escape-hatches ratchet
run: pnpm lint:ratchet