Skip to content

Commit 61eddc6

Browse files
committed
ci: removed npm ci from beta release gh actions pipeline
1 parent 79052b4 commit 61eddc6

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ jobs:
7575
with:
7676
fetch-depth: 0 # Ensures all tags are fetched
7777

78+
- name: Setup
79+
uses: ./.github/actions/setup
80+
7881
- name: Setup Node.js
7982
uses: actions/setup-node@v4
8083
with:
8184
node-version: "lts/*" # Use the latest LTS version of Node.js
8285
registry-url: 'https://registry.npmjs.org/' # Specify npm registry
8386

84-
- name: Install dependencies
85-
run: npm ci # Clean install dependencies based on the lock file
86-
8787
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
8888
run: npm audit signatures # Check the signatures to verify integrity
8989

release.config.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,15 @@ module.exports = {
44
'@semantic-release/commit-analyzer', // Analyzes commits for version bumping
55
'@semantic-release/release-notes-generator', // Generates release notes
66
'@semantic-release/changelog', // Generates the changelog
7-
'@semantic-release/git', // Commits changed files including the changelog
8-
'@semantic-release/github',
97
'@semantic-release/npm', // Handles npm publishing
8+
'@semantic-release/github', // Handles GitHub releases
9+
[
10+
'@semantic-release/git',
11+
{
12+
assets: ['package.json', 'yarn.lock', 'CHANGELOG.md'],
13+
message:
14+
'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
15+
},
16+
],
1017
],
1118
};

0 commit comments

Comments
 (0)