WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

v3.21.0

v3.21.0 #496

Workflow file for this run

name: release
on:
push:
tags:
- v*
# Remove default permissions of GITHUB_TOKEN for security
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions: {}
jobs:
release:
concurrency:
group: release
permissions:
contents: write
id-token: write
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: 24.9.0
registry-url: "https://registry.npmjs.org/"
cache: "pnpm"
- name: Update npm for trusted publishing
run: npm install -g [email protected]
- run: pnpm config set registry https://registry.npmjs.org
- run: npm config set registry https://registry.npmjs.org
- name: 📦 Install dependencies
run: pnpm install
- name: 🛠 Prepare build environment
run: pnpm dev:prepare
- name: 📦 Release
run: npm publish --access public