👷 added in lefthook, commitlint, and semantic-release
This commit is contained in:
parent
2e62c38ff2
commit
be3058d17a
7 changed files with 4601 additions and 14 deletions
27
.forgejo/workflows/semver.yml
Normal file
27
.forgejo/workflows/semver.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Semver
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "**"
|
||||
jobs:
|
||||
semver:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: node:21-alpine
|
||||
steps:
|
||||
- name: Setup Node
|
||||
run: |
|
||||
apk add --no-cache libc6-compat
|
||||
apk update
|
||||
yarn set version canary
|
||||
yarn config set nodeLinker node-modules
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: yarn install
|
||||
run: yarn install
|
||||
- name: Semver
|
||||
run: yarn run semantic-release
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue