27 lines
575 B
YAML
27 lines
575 B
YAML
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 }}
|