From 51f21ee9a72d2363dbd46fe0b5d4f76916e43ff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E6=A1=93=E6=A1=93?= Date: Tue, 28 Feb 2023 20:15:13 +0800 Subject: [PATCH] chore(ci): use `Node.js 14` to build project --- .github/workflows/{release.yaml => release.yml} | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) rename .github/workflows/{release.yaml => release.yml} (85%) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yml similarity index 85% rename from .github/workflows/release.yaml rename to .github/workflows/release.yml index fee0231..539d408 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yml @@ -17,17 +17,22 @@ jobs: with: fetch-depth: 0 # Step II + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: 14 + # Step III - name: Install Dependencies run: npm ci - # Step III + # Step IV - name: Build Project run: npm run build - # Step IV + # Step V - name: Publish to NPM Registry uses: JS-DevTools/npm-publish@v1 with: token: ${{ secrets.NPM_TOKEN }} - # Step V + # Step VI - name: Generate Changelog run: npx changelogithub@0.12 env: