Skip to content

Commit

Permalink
Create release with GitHub Actions (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Aug 10, 2023
1 parent c439c81 commit c2dd15b
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
@@ -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
Expand Up @@ -28,7 +28,7 @@
"lint:js": "eslint .",
"lint:md": "remark . --quiet --frail",
"lint:types": "tsc",
"release": "np",
"release": "np --no-release-draft",
"pretest": "npm run lint",
"test": "jest",
"watch": "jest --watch",
Expand Down

0 comments on commit c2dd15b

Please sign in to comment.