fix(ci): use node:22-bookworm container to ensure Node.js availability
Build and Deploy / build-and-push (push) Failing after 22s

This commit is contained in:
2026-08-06 15:38:42 +08:00
parent 9589572b4c
commit f3c89d35a7
+1 -6
View File
@@ -17,14 +17,9 @@ env:
jobs:
build-and-push:
runs-on: ubuntu-latest
container: node:22-bookworm
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- name: Install Node.js
run: |
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
node --version
- name: Checkout
uses: actions/checkout@v4