Skip to content

Apply automatic changes #29

Apply automatic changes

Apply automatic changes #29

Workflow file for this run

---
name: pub
on:
push:
tags: ['*']
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
pub:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- run: echo -n ${{ github.ref_name }} > VERSION
- uses: pnpm/action-setup@v3
with:
version: '*'
- uses: actions/setup-node@v4
with:
node-version: '*'
registry-url: https://registry.npmjs.org
cache: pnpm
- run: pnpm i
- uses: docker/setup-buildx-action@v3
- uses: nixbuild/nix-quick-install-action@v29
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build .#kirsch-release
- name: release
uses: svenstaro/[email protected]
with:
file: result/share/fonts/*
file_glob: true
- name: pub to npm
run: |
pnpm version from-git --no-commit-hooks --no-git-tag-version --allow-same-version
pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: push
uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: VERSION