Skip to content

build: force modify workflow files to try to get actions working again #1

build: force modify workflow files to try to get actions working again

build: force modify workflow files to try to get actions working again #1

name: Create new Release
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'src/lib/**'
- '.github/workflows/release.yml'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
name: Release
steps:
- uses: actions/checkout@v4
- uses: TriPSs/conventional-changelog-action@v5
with:
version-file: "./package.json"
github-token: ${{ secrets.github_token }}
- uses: actions/setup-node@v4
with:
node-version: '23'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Publish to NPM
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}