💚 fix ci builds please
This commit is contained in:
parent
df376480d5
commit
0e4d363af9
8 changed files with 182 additions and 405 deletions
36
.forgejo/workflows/0-semver.yml
Normal file
36
.forgejo/workflows/0-semver.yml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
name: Semver
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "**"
|
||||
jobs:
|
||||
semver:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "21"
|
||||
- name: Setup Yarn
|
||||
run: |
|
||||
yarn set version canary
|
||||
yarn config set nodeLinker node-modules
|
||||
|
||||
- name: yarn install
|
||||
run: yarn install --immutable
|
||||
- name: Semantic Release
|
||||
id: semantic
|
||||
run: yarn run semantic-release
|
||||
- name: Create Release
|
||||
uses: actions/forgejo-release@v1
|
||||
with:
|
||||
direction: upload
|
||||
release-dir: .ci
|
||||
release-notes: ${{ steps.semantic.outputs.NOTES }}
|
||||
token: ${{secrets.OAUTH_TOKEN}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue