Skip to content

Commit

Permalink
use install semantic release explicitly instead of using clean-install
Browse files Browse the repository at this point in the history
  • Loading branch information
Arc-E-Tect committed Jul 16, 2024
1 parent c507890 commit bc859c6
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build-of-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,21 @@ jobs:
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4.0.3
with:
node-version: "lts/*"

- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm clean-install
run: npm install -g semantic-release @semantic-release/git @semantic-release/github @semantic-release/commit-analyzer

- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
Expand Down

0 comments on commit bc859c6

Please sign in to comment.