Skip to content

Commit 436d929

Browse files
chore: use lockfiles for NPM dependencies
1 parent 4adbfe8 commit 436d929

File tree

4 files changed

+5814
-17
lines changed

4 files changed

+5814
-17
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,8 @@ jobs:
133133
GIT_COMMITTER_NAME: amplitude-sdk-bot
134134
GIT_COMMITTER_EMAIL: amplitude-sdk-bot@users.noreply.github.com
135135
run: |
136-
npx \
137-
-p lodash \
138-
-p semantic-release \
139-
-p @semantic-release/changelog \
140-
-p @semantic-release/git \
141-
-p @google/semantic-release-replace-plugin \
142-
-p @semantic-release/exec \
143-
semantic-release --dry-run
136+
npm ci
137+
npm exec semantic-release -- --dry-run
144138
145139
- name: Semantic Release
146140
if: ${{ github.event.inputs.dryRun == 'false'}}
@@ -152,12 +146,5 @@ jobs:
152146
GIT_COMMITTER_NAME: amplitude-sdk-bot
153147
GIT_COMMITTER_EMAIL: amplitude-sdk-bot@users.noreply.github.com
154148
run: |
155-
npx \
156-
-p lodash \
157-
-p semantic-release \
158-
-p @semantic-release/changelog \
159-
-p @semantic-release/git \
160-
-p @google/semantic-release-replace-plugin \
161-
-p @semantic-release/exec \
162-
semantic-release
163-
149+
npm ci
150+
npm exec semantic-release

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
xcuserdata/
55
.swiftpm/
66
Carthage/
7+
node_modules/

0 commit comments

Comments
 (0)