Skip to content

Commit

Permalink
0.18: 指定 node 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Smilin committed Apr 29, 2024
1 parent c3d35dd commit fdfa30d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,19 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"

- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: List the state of node modules
continue-on-error: true
run: npm list

- name: Install dependencies
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: Install dependencies
run: npm install

# 上傳存儲項目
Expand Down Expand Up @@ -110,6 +117,7 @@ jobs:
# name: node_modules
# path: node_modules

# 載入緩存
- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auto-pixai",
"version": "0.17",
"version": "0.18",
"description": "自動領取pixai.art獎勵",
"main": "app.js",
"scripts": {
Expand Down

0 comments on commit fdfa30d

Please sign in to comment.