Skip to content

Commit

Permalink
GitHub releases config, version based on release tag, dependabot for …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
tclindner committed Oct 10, 2021
1 parent 510053c commit fb9b781
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ updates:
labels:
- 'dependencies :package:'
versioning-strategy: increase
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
30 changes: 30 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
changelog:
exclude:
labels:
- "ignore-for-release :zipper_mouth_face:"
categories:
- title: 💥 Breaking Changes
labels:
- "breaking change :boom:"
- title: 🔒 Security
labels:
- "security :lock:"
- title: 👑 Changed
labels:
- "enhancement :crown:"
- title: 🙈 Fixed
labels:
- "bug :beetle:"
- title: 🗑️ Removed
labels:
- "removed :wastebasket:"
- title: 📖 Docs
labels:
- "documentation :book:"
- title: 🧹 Chores
labels:
- "maintenance :construction:"
- "dependencies :package:"
- title: 🎁 Other
labels:
- "*"
3 changes: 2 additions & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci --no-progress --production
- run: npm version --no-push --no-git-tag-version --yes ${{ github.event.release.tag_name }}
- run: npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci --no-progress --production
- run: npm version --no-push --no-git-tag-version --yes ${{ github.event.release.tag_name }}
- run: npm publish --tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-typescript-tc",
"version": "4.0.0",
"version": "0.0.0",
"description": "ESLint shareable config for TypeScript projects",
"keywords": [
"eslintconfig",
Expand Down

0 comments on commit fb9b781

Please sign in to comment.