ci: use node:20-bookworm image for test/lint/security jobs

This commit is contained in:
Jarian Cottingham 2026-07-06 05:00:05 +00:00
parent 6076357a36
commit a23632b15c

View File

@ -13,7 +13,7 @@ jobs:
lint:
runs-on: ubuntu-latest
container:
image: gitea-job-image
image: node:20-bookworm
steps:
- name: Clone repo
run: |
@ -34,7 +34,7 @@ jobs:
test:
runs-on: ubuntu-latest
container:
image: gitea-job-image
image: node:20-bookworm
steps:
- name: Clone repo
run: |
@ -48,13 +48,6 @@ jobs:
- name: Run tests with coverage
run: npm test
- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage/
docker-build:
runs-on: ubuntu-latest
steps:
@ -76,7 +69,7 @@ jobs:
security:
runs-on: ubuntu-latest
container:
image: gitea-job-image
image: node:20-bookworm
steps:
- name: Clone repo
run: |
@ -97,8 +90,6 @@ jobs:
build-result:
needs: [lint, test, docker-build, security]
runs-on: ubuntu-latest
container:
image: gitea-job-image
if: always()
steps:
- name: Summary