Skip to content

Merge pull request #138 from Neuvernetzung/develop #80

Merge pull request #138 from Neuvernetzung/develop

Merge pull request #138 from Neuvernetzung/develop #80

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- "master"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: NodeJs aufsetzen
uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: npx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}