Update dependency @unpic/react to v1 #253
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
actions: write | |
contents: read | |
jobs: | |
check: | |
name: π§Ή Linting & formatting | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
steps: | |
- name: π₯ Checkout repo | |
uses: actions/checkout@v4 | |
- name: π Extract pnpm version from package.json | |
id: extract_version | |
run: echo "PNPM_VERSION=$(jq -r '.packageManager' package.json | cut -d'@' -f2)" >> $GITHUB_ENV | |
- name: π¦ Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: ${{ env.PNPM_VERSION }} | |
- name: π οΈ Setup node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: package.json | |
cache: pnpm | |
- name: π Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: π Setup Biome | |
uses: biomejs/setup-biome@v2 | |
with: | |
version: latest | |
- name: π§Ή Run Biome (Lint, Format, Check) | |
run: pnpm run check |