Skip to content

Commit a758349

Browse files
author
Allen Kim
committed
feat: added basic configurations
1 parent dbe75d5 commit a758349

File tree

5 files changed

+75
-0
lines changed

5 files changed

+75
-0
lines changed

.editorconfig

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
charset = utf-8
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
indent_style = space
12+
indent_size = 4
13+
14+
# Tab indentation (no size specified)
15+
[Makefile]
16+
indent_style = tab
17+
18+
[*.{tf,tfvars}]
19+
indent_style = space
20+
indent_size = 2
21+
22+
[*.md]
23+
max_line_length = 0
24+
trim_trailing_whitespace = false
25+
26+
[*.{yml,yaml}]
27+
indent_style = space
28+
indent_size = 2

.github/workflows/release.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
- name: Semantic Release
15+
uses: cycjimmy/semantic-release-action@v3
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ override.tf.json
2727

2828
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
2929
# example: *tfplan*
30+
31+
# Test
32+
**/test*.tfvars

.releaserc.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"plugins": [
3+
"@semantic-release/commit-analyzer",
4+
"@semantic-release/release-notes-generator",
5+
"@semantic-release/github",
6+
[
7+
"@semantic-release/changelog",
8+
{
9+
"changelogFile": "CHANGELOG.md"
10+
}
11+
],
12+
[
13+
"@semantic-release/git",
14+
{
15+
"assets": ["CHANGELOG.md"],
16+
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
17+
}
18+
]
19+
]
20+
}

.vscode/settings.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"conventionalCommits.scopes": [
3+
"deps",
4+
"renovate"
5+
]
6+
}

0 commit comments

Comments
 (0)