Skip to content

Commit

Permalink
chore: fix ci node version
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Jan 24, 2025
1 parent 1af9e36 commit 5fa5944
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
uses: pnpm/action-setup@v2

# after pnpm
- name: Use Node.js 16
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: 16
node-version: lts/*
registry-url: https://registry.npmjs.org/
cache: pnpm

Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/vercel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
# after pnpm
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
cache: pnpm

- name: Install Vercel CLI
run: npm install --global vercel@latest
run: pnpm i -g vercel@latest

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
Expand Down

0 comments on commit 5fa5944

Please sign in to comment.