Skip to content

chore(deps): update actions/setup-node action to v4.0.1 #1178

chore(deps): update actions/setup-node action to v4.0.1

chore(deps): update actions/setup-node action to v4.0.1 #1178

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.10.0 # renovate: datasource=node depName=node
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: enable corepack
run: corepack enable
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
- name: enable corepack
run: corepack enable
- name: Installing dependencies
run: yarn install
- name: lint
run: yarn prettier:check
build:
runs-on: ubuntu-latest
needs: [lint]
strategy:
matrix:
distro: [focal]
arch: [x86_64]
env:
DISTRO: ${{ matrix.distro }} # build target, name required by binary-builder
ARCH: ${{ matrix.arch }} # build target, name required by binary-builder
permissions:
contents: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: binary-builder
uses: containerbase/internal-tools@bdc9733990cf3added253065dd4d3ed5421de6ef # v3.0.33
with:
command: binary-builder
dry-run: ${{github.ref != 'refs/heads/main'}}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: ${{ env.DISTRO }}
path: .cache/*.tar.xz