Skip to content

jump to network response #20463

jump to network response

jump to network response #20463

Workflow file for this run

name: Lint
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
trunk_check_runner:
name: Trunk Check runner
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Get the yarn cache path.
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "{dir}={$(yarn config get cacheFolder)}" >> $GITHUB_OUTPUT
- name: Restore yarn cache
uses: actions/cache@v3
id: yarn-cache
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
**/node_modules
key: yarn-cache-folder-${{ hashFiles('**/yarn.lock', '.yarnrc.yml') }}
restore-keys: "yarn-cache-folder-"
# Actually install packages with Yarn
- name: Install packages
run: yarn install
env:
YARN_CHECKSUM_BEHAVIOR: "update"
- name: Trunk Check
uses: trunk-io/[email protected]