chore: 更新依赖

This commit is contained in:
IamFurina 2025-07-03 16:06:42 +08:00 committed by ImFurina
parent fc66dc4de2
commit f617b066c9
3 changed files with 5301 additions and 23 deletions

View File

@ -1,36 +1,21 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# 去去去For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Node.js Package
name: Publish Package to npmjs
on:
release:
types: [created]
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test
publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0
.npmrc Normal file
View File

5293
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff