From a791434cd7fe59e0e4a7136dd00f7591f0ed64a7 Mon Sep 17 00:00:00 2001 From: Chen Asraf Date: Wed, 31 May 2023 00:20:06 +0300 Subject: [PATCH] build: fix workflows --- .github/workflows/pull_requests.yml | 36 +++++++++++++++-------------- .github/workflows/release.yml | 4 ++-- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index 949f043..5b340a7 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -1,18 +1,20 @@ -name: Pull Requests +# name: Pull Requests +# +# on: +# pull_request: +# branches: [ master, develop ] +# jobs: +# build: +# runs-on: ubuntu-latest +# if: "!contains(github.event.head_commit.message, '[skip ci]')" +# steps: +# - uses: actions/checkout@v3 +# - uses: pnpm/action-setup@v2 +# with: +# run_install: | +# - recursive: true +# args: [--frozen-lockfile, --strict-peer-dependencies] +# - run: pnpm build +# - run: pnpm test + -on: - pull_request: - branches: [ master, develop ] -jobs: - build: - runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '[skip ci]')" - steps: - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - with: - run_install: | - - recursive: true - args: [--frozen-lockfile, --strict-peer-dependencies] - - run: pnpm build - # - run: pnpm test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 411c1ae..4bad5cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,8 +27,8 @@ jobs: run_install: | - recursive: true args: [--frozen-lockfile, --strict-peer-dependencies] - - run: pnpm build - - run: cd ./dist && pnpm pack --pack-destination=../ + # - run: pnpm build + - run: pnpm pack - run: pnpm semantic-release if: "!contains(github.event.head_commit.message, '[skip publish]')" env: