ci: remove container: directive, use setup actions for Docker mode
This commit is contained in:
@@ -12,11 +12,14 @@ jobs:
|
|||||||
backend:
|
backend:
|
||||||
name: Backend (.NET)
|
name: Backend (.NET)
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
container:
|
|
||||||
image: mcr.microsoft.com/dotnet/sdk:10.0
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup .NET SDK
|
||||||
|
uses: actions/setup-dotnet@v4
|
||||||
|
with:
|
||||||
|
dotnet-version: '10.0.x'
|
||||||
|
|
||||||
- name: Restore
|
- name: Restore
|
||||||
run: dotnet restore backend/Nexus.Api.csproj
|
run: dotnet restore backend/Nexus.Api.csproj
|
||||||
@@ -32,11 +35,14 @@ jobs:
|
|||||||
frontend:
|
frontend:
|
||||||
name: Frontend (Vue/TS)
|
name: Frontend (Vue/TS)
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
container:
|
|
||||||
image: node:24-alpine
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '24'
|
||||||
|
|
||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
run: |
|
run: |
|
||||||
@@ -62,7 +68,7 @@ jobs:
|
|||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Check for .env leaks
|
- name: Check for .env leaks
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user