Update ci.yml use node 22

This commit is contained in:
Anduin Xue 2025-04-16 05:40:40 +00:00 committed by GitHub
parent d34d033c0a
commit 66ea5bb977
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ jobs:
token: ${{ secrets.PAT }}
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '22'
cache: 'npm'
- run: npm install
- run: npm run build
@ -46,4 +46,4 @@ jobs:
- name: Build and push the Docker image
run: |
docker build . --tag ghcr.io/anduin2017/how-to-cook:latest
docker push ghcr.io/anduin2017/how-to-cook:latest
docker push ghcr.io/anduin2017/how-to-cook:latest