Skip to content

Commit

Permalink
Create release with GitHub Actions (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Aug 17, 2023
1 parent c6f480e commit 7c098cb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release

on:
push:
tags: ['**']

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create release
uses: stylelint/changelog-to-github-release-action@main
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"scripts": {
"format": "prettier . --write",
"lint": "eslint . && prettier . --check",
"release": "np",
"release": "np --no-release-draft",
"pretest": "npm run lint",
"test": "jest",
"watch": "jest --watch"
Expand Down

0 comments on commit 7c098cb

Please sign in to comment.