Skip to content

Commit

Permalink
ci: skip husky in release actions install
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonC committed Jun 30, 2023
1 parent ce45868 commit fc30be8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit fc30be8

Please sign in to comment.