Skip to content

remove pcf

remove pcf #24

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
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- uses: pnpm/action-setup@v3
with:
version: '*'
- uses: actions/setup-node@v3
with:
node-version: '*'
registry-url: https://registry.npmjs.org
cache: pnpm
- run: pnpm i
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: fuse bdfresize xfonts-utils woff2
version: 1.0
- name: build
env:
REF: ${{ github.ref_name }}
run: ./build.sh -v "$REF" -n
- name: release
uses: svenstaro/upload-release-action@2.7.0
with:
file: out/*
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 }}