Skip to content

lockfile

lockfile #9

Workflow file for this run

---
name: pub
on:
push:
tags: ['*']
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
pub:
runs-on: ubuntu-latest
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: '*'
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
- uses: simenandre/publish-with-pnpm@v2
with:
npm-auth-token: ${{ secrets.NPM_TOKEN }}
- name: Release
uses: svenstaro/upload-release-action@2.7.0
with:
file: out/*
file_glob: true