Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/setup-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
using: composite
steps:
- name: Use Node.js ${{ inputs.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ inputs.node-version }}

Expand All @@ -19,7 +19,7 @@ runs:
run: make .yarnrc.yml

- name: Cache dependencies
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .yarn
key: ${{ runner.OS }}-node-${{ inputs.node-version }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup dependencies
uses: ./.github/actions/setup-dependencies
Expand All @@ -109,7 +109,7 @@ jobs:
run: yarn workspace @retailcrm/embed-ui-v1-components run storybook:build

- name: Upload Storybook artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: v1-components-storybook
path: packages/v1-components/storybook/dist
Expand All @@ -127,16 +127,16 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Download Storybook artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: v1-components-storybook
path: packages/v1-components/storybook/dist

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
uses: peaceiris/actions-gh-pages@v4.1.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: packages/v1-components/storybook/dist
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Using branch ${{ github.ref }} for repository ${{ github.repository }}.
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Run actionlint
uses: devops-actions/actionlint@v0.1.10
Expand All @@ -27,11 +27,11 @@ jobs:

strategy:
matrix:
node-version: [ 22.x, 24.x ]
node-version: [ 22.x, 24.15.0 ]

steps:
- name: Using branch ${{ github.ref }} for repository ${{ github.repository }}.
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup dependencies
uses: ./.github/actions/setup-dependencies
Expand All @@ -56,11 +56,11 @@ jobs:

strategy:
matrix:
node-version: [ 22.x, 24.x ]
node-version: [ 22.x, 24.15.0 ]

steps:
- name: Using branch ${{ github.ref }} for repository ${{ github.repository }}.
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup dependencies
uses: ./.github/actions/setup-dependencies
Expand All @@ -77,23 +77,23 @@ jobs:
run: yarn test

- name: Run coverage
if: ${{ matrix.node-version == '24.x' }}
if: ${{ startsWith(matrix.node-version, '24.') }}
run: yarn test:coverage

- name: Run typecheck tests
run: yarn vitest run -c packages/v1-contexts/vitest.config.ts --typecheck.only --typecheck.checker tsc --typecheck.tsconfig packages/v1-contexts/tsconfig.json

- name: Install Playwright Chromium
if: ${{ matrix.node-version == '24.x' }}
if: ${{ startsWith(matrix.node-version, '24.') }}
run: yarn workspace @retailcrm/embed-ui-v1-endpoint exec playwright install --with-deps chromium

- name: Run v1-endpoint e2e tests
if: ${{ matrix.node-version == '24.x' }}
if: ${{ startsWith(matrix.node-version, '24.') }}
run: yarn workspace @retailcrm/embed-ui-v1-endpoint run test:e2e

- name: Upload v1-endpoint e2e screenshots
if: ${{ failure() && matrix.node-version == '24.x' }}
uses: actions/upload-artifact@v4
if: ${{ failure() && startsWith(matrix.node-version, '24.') }}
uses: actions/upload-artifact@v6
with:
name: v1-endpoint-playwright-screenshots-${{ matrix.node-version }}
path: packages/v1-endpoint/artifacts/playwright/screenshots
Expand Down