Skip to content

chore(deps): update dependency lint-staged to v15.3.0 #2470

chore(deps): update dependency lint-staged to v15.3.0

chore(deps): update dependency lint-staged to v15.3.0 #2470

Workflow file for this run

name: build
on:
push:
branches:
- main
- 'renovate/**'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
env:
NODE_VERSION: 20.18.1 # renovate: datasource=node depName=node
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: enable corepack
run: corepack enable
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: enable corepack
run: corepack enable
- name: Installing dependencies
run: pnpm install
- name: lint
run: pnpm prettier
build:
runs-on: ubuntu-latest
needs: [lint]
strategy:
matrix:
arch:
- x86_64
- aarch64
env:
ARCH: ${{ matrix.arch }} # build target, name required by binary-builder
permissions:
contents: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: binary-builder
uses: containerbase/internal-tools@c8f78cbc830d1883e695d06e3028136656e70f5b # v3.5.17
with:
command: binary-builder
dry-run: ${{github.ref != 'refs/heads/main'}}
token: ${{ secrets.GITHUB_TOKEN }}