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 }}
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user