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
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js 20
|
||||
uses: actions/setup-node@v3
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
node-version: 20
|
||||
registry: git.dzeio.com
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Check
|
||||
run: npm run check
|
||||
|
||||
- name: Prepare Tests
|
||||
run: npm run install:test
|
||||
|
||||
- name: Test
|
||||
run : npm run test
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: avior/devhub-project:latest
|
Loading…
x
Reference in New Issue
Block a user