Skip to content

chore(deps): update actions/checkout digest to eef6144 #2585

chore(deps): update actions/checkout digest to eef6144

chore(deps): update actions/checkout digest to eef6144 #2585

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- alpha
- beta
- master
- renovate/**
jobs:
prepare_jobs:
name: 'Prepare: job optimization'
runs-on: ubuntu-latest
outputs:
pr_found: ${{ steps.pr.outputs.pr_found }}
steps:
- name: Get current PR
id: pr
uses: 8BitJonny/gh-get-current-pr@3.0.0
with:
filterOutClosed: true
sha: ${{ github.event.pull_request.head.sha }}
build:
needs: prepare_jobs
if: needs.prepare_jobs.outputs.pr_found == 'false' || github.event_name == 'pull_request'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node: ['18', '22']
steps:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Setup pnpm
run: corepack enable
- name: checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: cache node_modules
uses: actions/cache@v4
with:
path: node_modules
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/pnpm-lock.yaml')) }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pnpm install
- name: Lint
run: pnpm run lint && pnpm run -r lint
release_semantic:
needs: build
name: Release (semantic)
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@2.3.1
permissions:
contents: write
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}