mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2025-12-17 10:44:23 +08:00
Update ci.yml use node 22
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
token: ${{ secrets.PAT }}
|
token: ${{ secrets.PAT }}
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
node-version: '22'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
@@ -46,4 +46,4 @@ jobs:
|
|||||||
- name: Build and push the Docker image
|
- name: Build and push the Docker image
|
||||||
run: |
|
run: |
|
||||||
docker build . --tag ghcr.io/anduin2017/how-to-cook:latest
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user