From fc30be8686e789dad70480579cd540aacfb7f105 Mon Sep 17 00:00:00 2001 From: SimeonC <1085899+SimeonC@users.noreply.github.com> Date: Fri, 30 Jun 2023 18:59:08 +0900 Subject: [PATCH] ci: skip husky in release actions install --- .github/workflows/pull_requests.yml | 7 ++++++- .github/workflows/release.yml | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index ac4c6a79..e4bda224 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -120,6 +120,8 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.ref }} + - uses: nrwl/nx-set-shas@v3 + - name: Read .nvmrc id: nvm run: echo ::set-output name=nvmrc::$(cat .nvmrc) @@ -133,7 +135,10 @@ jobs: run: git fetch origin main - name: Install 🔧 - run: npm ci + run: npm ci --ignore-scripts + + - name: Build + run: npm run build - name: Create Canary Release ✨ env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 941be247..1a5ee22e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,7 @@ jobs: - name: Checkout 🛎️ uses: actions/checkout@v2 + - uses: nrwl/nx-set-shas@v3 - name: Prepare repository run: git fetch --unshallow --prune --tags @@ -35,7 +36,10 @@ jobs: run: git branch --track main origin/main - name: Install 🔧 - run: npm ci + run: npm ci --ignore-scripts + + - name: Build + run: npm run build - name: Run Tests run: npm test