Skip to content

chore(deps): update dependency prettier to v3.6.2 #1376

chore(deps): update dependency prettier to v3.6.2

chore(deps): update dependency prettier to v3.6.2 #1376

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
- dev
jobs:
test:
strategy:
matrix:
os:
- macOS-latest
# - windows-latest
node: [22]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: ${{ matrix.node }}
- name: Enable Corepack and setup Yarn v4
run: |
corepack enable
yarn --version
- name: Cache dependencies
id: cache-depends
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
with:
path: '**/node_modules'
key: os-${{ matrix.os }}-node${{ matrix.node }}-${{ hashFiles('yarn.lock') }}
- name: Create .yarnrc for Windows
if: runner.os == 'Windows' && steps.cache-depends.outputs.cache-hit != 'true'
run: echo "network-timeout 600000" > .yarnrc
- name: Install dependencies for Renovate/Dependabot
if: github.actor == 'renovate[bot]' || github.actor == 'dependabot[bot]'
run: yarn install --refresh-lockfile
- name: Install dependencies for normal PRs
if: github.actor != 'renovate[bot]' && github.actor != 'dependabot[bot]'
run: yarn install --immutable
- name: Compile
run: yarn build
- name: Lint
run: yarn lint
- name: Test
run: yarn test