From 531f503e8bfc7bf81ae69112163379ae27855abf Mon Sep 17 00:00:00 2001 From: Daria Date: Tue, 26 Mar 2024 18:57:32 +0300 Subject: [PATCH] ci: fix workflows (#2) --- .github/workflows/main-preview.yml | 2 +- .github/workflows/release.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main-preview.yml b/.github/workflows/main-preview.yml index 16b1a1f..bcdcb39 100644 --- a/.github/workflows/main-preview.yml +++ b/.github/workflows/main-preview.yml @@ -21,7 +21,7 @@ jobs: run: npm ci shell: bash - name: Build Storybook - run: npx build-storybook + run: npx --no-install sb build shell: bash - name: Upload to S3 uses: gravity-ui/preview-upload-to-s3-action@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d137e4..a1596ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,5 +10,6 @@ jobs: steps: - uses: gravity-ui/release-action@v1 with: + node-version: 18 github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }} npm-token: ${{ secrets.GRAVITY_UI_BOT_NPM_TOKEN }}