Skip to content

Commit

Permalink
feat: 指定npm版本
Browse files Browse the repository at this point in the history
  • Loading branch information
songxingguo committed Apr 5, 2024
1 parent bfdf7d6 commit e214af6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@ jobs:
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@master
with:
node-version: "18.13.0"

- name: Install and Build 🔧
run: |
npm install -g [email protected]
npm i --force
npm run build
- name: 推送到代码仓库
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down

0 comments on commit e214af6

Please sign in to comment.