From 71be47b956529bfd37dad66d7862de99b08d7e7c Mon Sep 17 00:00:00 2001 From: JIANG Date: Fri, 13 Mar 2026 17:37:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=9E=84=E5=BB=BA=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81=E6=A0=BC=E5=BC=8F=EF=BC=8C=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E5=BC=95=E5=8F=B7=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/package.yml | 51 ++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 66bbf05..be007ab 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -3,41 +3,42 @@ name: Build and Lint on: push: tags: - - 'v*' + - "v*" jobs: build: - runs-on: ubuntu-latest env: + runs-on: ubuntu-latest + env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true strategy: matrix: node-version: [24.x] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: "npm" - - name: Install dependencies - run: npm ci + - name: Install dependencies + run: npm ci - - name: Package Source Code - run: | - tar -czf source-code.tar.gz \ - --exclude='.git*' \ - --exclude='.github' \ - --exclude='node_modules' \ - --exclude='.next' \ - --exclude='dist' \ - --exclude='source-code.tar.gz' \ - . + - name: Package Source Code + run: | + tar -czf source-code.tar.gz \ + --exclude='.git*' \ + --exclude='.github' \ + --exclude='node_modules' \ + --exclude='.next' \ + --exclude='dist' \ + --exclude='source-code.tar.gz' \ + . - - name: Upload Source Artifact - uses: actions/upload-artifact@v4 - with: - name: source-code - path: source-code.tar.gz + - name: Upload Source Artifact + uses: actions/upload-artifact@v4 + with: + name: source-code + path: source-code.tar.gz