1
0
mirror of synced 2025-11-06 05:10:37 +08:00

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 ef00aa551b
commit a035c61241

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