Skip to content

Commit fb9b781

Browse files
authored
GitHub releases config, version based on release tag, dependabot for GitHub actions (#221)
* Add GitHub actions to dependabot * Create release.yml * Set version to tag * Set version to tag * Update package.json * Update package-lock.json * Update release.yml * Update prerelease.yml
1 parent 510053c commit fb9b781

File tree

6 files changed

+40
-4
lines changed

6 files changed

+40
-4
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ updates:
1010
labels:
1111
- 'dependencies :package:'
1212
versioning-strategy: increase
13+
- package-ecosystem: "github-actions"
14+
directory: "/"
15+
schedule:
16+
interval: "daily"

.github/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- "ignore-for-release :zipper_mouth_face:"
5+
categories:
6+
- title: 💥 Breaking Changes
7+
labels:
8+
- "breaking change :boom:"
9+
- title: 🔒 Security
10+
labels:
11+
- "security :lock:"
12+
- title: 👑 Changed
13+
labels:
14+
- "enhancement :crown:"
15+
- title: 🙈 Fixed
16+
labels:
17+
- "bug :beetle:"
18+
- title: 🗑️ Removed
19+
labels:
20+
- "removed :wastebasket:"
21+
- title: 📖 Docs
22+
labels:
23+
- "documentation :book:"
24+
- title: 🧹 Chores
25+
labels:
26+
- "maintenance :construction:"
27+
- "dependencies :package:"
28+
- title: 🎁 Other
29+
labels:
30+
- "*"

.github/workflows/prerelease.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
node-version: '12.x'
1515
registry-url: 'https://registry.npmjs.org'
1616
- run: npm ci --no-progress --production
17+
- run: npm version --no-push --no-git-tag-version --yes ${{ github.event.release.tag_name }}
1718
- run: npm publish --tag next
1819
env:
19-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
20+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
node-version: '12.x'
1515
registry-url: 'https://registry.npmjs.org'
1616
- run: npm ci --no-progress --production
17+
- run: npm version --no-push --no-git-tag-version --yes ${{ github.event.release.tag_name }}
1718
- run: npm publish --tag latest
1819
env:
19-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
20+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-typescript-tc",
3-
"version": "4.0.0",
3+
"version": "0.0.0",
44
"description": "ESLint shareable config for TypeScript projects",
55
"keywords": [
66
"eslintconfig",

0 commit comments

Comments
 (0)