Build test pipeline
Test build / build-test (push) Failing after 4s Details

This commit is contained in:
Adam Štrauch 2023-11-26 03:02:55 +01:00
parent c397e365dc
commit 9bd5aefd76
Signed by: cx
GPG Key ID: 7262DAFE292BCE20
2 changed files with 10 additions and 19 deletions

View File

@ -5,12 +5,13 @@ on:
branches: [ main ]
jobs:
build:
build-test:
runs-on: [moon, amd64]
container:
image: node:18
# env:
# NODE_ENV: development
image: harbor.hq.rosti.cz/library/builder:39
env:
REPO: harbor.hq.rosti.cz
USERNAME: robot$rosti+rosti
# ports:
# - 80
# volumes:
@ -18,6 +19,10 @@ jobs:
# options: --cpus 1
steps:
- name: Check for dockerenv file
run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv)
run: |
echo "${{ secrets.repo_password }}" | podman login -u $USERNAME --password-stdin $REPO
task build
task test

View File

@ -1,14 +0,0 @@
name: Image testing
on:
- push
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: testing
run: |
make build
make test