Skip to content

build(deps): update yarn to 4.5.3 #1150

build(deps): update yarn to 4.5.3

build(deps): update yarn to 4.5.3 #1150

Workflow file for this run

name: CI
on:
push:
workflow_dispatch:
env:
FORCE_COLOR: true
NODE_VERSION: 22
jobs:
setup:
name: Lint Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
run: yarn install --immutable
- name: Run Linter
run: yarn lint
- name: Run tests
run: yarn coverage
- name: Build Package
if: success() && github.ref == 'refs/heads/develop'
run: yarn build
- name: Create Release
if: success() && github.ref == 'refs/heads/develop'
run: yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}