generated from avior/template-web-astro
Update .github/workflows/build_and_check.yml
Some checks failed
Build, check & Test / run (push) Failing after 2m16s
Some checks failed
Build, check & Test / run (push) Failing after 2m16s
This commit is contained in:
parent
ca799e17b0
commit
898d5a241a
30
.github/workflows/build_and_check.yml
vendored
30
.github/workflows/build_and_check.yml
vendored
@ -14,22 +14,20 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Use Node.js 20
|
- name: Login to Docker Hub
|
||||||
uses: actions/setup-node@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
registry: git.dzeio.com
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_TOKEN }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Set up Docker Buildx
|
||||||
run: npm ci
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Build
|
- name: Build and push
|
||||||
run: npm run build
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
- name: Check
|
context: .
|
||||||
run: npm run check
|
file: ./Dockerfile
|
||||||
|
push: true
|
||||||
- name: Prepare Tests
|
tags: avior/devhub-project:latest
|
||||||
run: npm run install:test
|
|
||||||
|
|
||||||
- name: Test
|
|
||||||
run : npm run test
|
|
Loading…
x
Reference in New Issue
Block a user