Fix: Add container: node:18 to jobs missing Node.js for actions/checkout
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -15,6 +15,7 @@ jobs:
|
|||||||
fmt:
|
fmt:
|
||||||
name: Code Format
|
name: Code Format
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
|
container: node:18
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -28,6 +29,7 @@ jobs:
|
|||||||
clippy:
|
clippy:
|
||||||
name: Clippy Lints
|
name: Clippy Lints
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
|
container: node:18
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -43,6 +45,7 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
name: Unit Tests
|
name: Unit Tests
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
|
container: node:18
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -59,6 +62,7 @@ jobs:
|
|||||||
audit:
|
audit:
|
||||||
name: Security Audit
|
name: Security Audit
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
|
container: node:18
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -223,6 +227,7 @@ jobs:
|
|||||||
name: Create Release
|
name: Create Release
|
||||||
needs: [build-deb, build-rpm, build-apk, build-arch]
|
needs: [build-deb, build-rpm, build-apk, build-arch]
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
|
container: node:18
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user