Skip to content

Commit

Permalink
ci(husky): fix command to remove prepare scripts from husky
Browse files Browse the repository at this point in the history
  • Loading branch information
Nargonath committed Oct 25, 2023
1 parent 80d4fc8 commit 9104bd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
node-version: "lts/*"
cache: "npm"
- name: Remove husky scripts installation
run: npm pkg set scripts.prepareBackup=$(npm pkg get scripts.prepare) && npm pkg delete scripts.prepare
run: npm pkg set scripts.prepareBackup="$(npm pkg get scripts.prepare | tr -d \")" && npm pkg delete scripts.prepare
- name: Install dependencies
run: npm ci
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Build
run: npm run build
- name: Add scripts.prepare back
run: npm pkg set scripts.prepare=$(npm pkg get scripts.prepareBackup) && npm pkg delete scripts.prepareBackup
run: npm pkg set scripts.prepare="$(npm pkg get scripts.prepareBackup | tr -d \")" && npm pkg delete scripts.prepareBackup
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 9104bd6

Please sign in to comment.