Skip to content

Commit bc0b5c0

Browse files
authored
feat: initial version (v1.0.0) (#3)
* fix: remove duplicate attributes variable definition * chore: semantic-release setup
1 parent 8e258c9 commit bc0b5c0

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

.github/workflows/main-release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Module release
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
permissions:
8+
issues: write
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
release-module:
14+
name: Release
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v3
19+
with:
20+
fetch-depth: 0
21+
- name: Setup Node.js
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: 'lts/*'
25+
- name: Install dependencies
26+
run: npm install
27+
- name: Release
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
run: npx semantic-release

package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "terraform-aws-analytics-pipeline",
3+
"private": true,
4+
"devDependencies": {
5+
"@semantic-release/github": "^11.0.6",
6+
"semantic-release": "^24.2.9"
7+
},
8+
"release": {
9+
"branches": [
10+
"main"
11+
]
12+
},
13+
"plugins": [
14+
"@semantic-release/commit-analyzer",
15+
"@semantic-release/release-notes-generator",
16+
"@semantic-release/github"
17+
]
18+
}

0 commit comments

Comments
 (0)