Skip to content

Commit 1e1ae92

Browse files
committed
chore: fix some release scripts
1 parent e936a13 commit 1e1ae92

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@ jobs:
2323
npm test
2424
- name: Install Terraform
2525
uses: little-core-labs/install-terraform@master
26+
- name: Terraform version
27+
run: |
28+
terraform version
2629

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules
2+
tmp_modules

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"release": "git push --follow-tags && gh-release",
1111
"version": "run-s version:*",
1212
"version:1-changelog": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md",
13-
"version:2-cleandeps": "mv node_modules tmp_modules && npm i --only=prod && git add node_modules --force"
13+
"version:2-cleandeps": "mv node_modules tmp_modules && npm i --only=prod && git add node_modules --force",
14+
"postversion": "rm -rf node_modules && mv tmp_modules node_modules"
1415
},
1516
"repository": {
1617
"type": "git",

0 commit comments

Comments
 (0)