Adding test stage
Some checks failed
Anatid Blog CI Workflow / test (./backend) (push) Successful in 1m4s
Anatid Blog CI Workflow / test (./frontend) (push) Failing after 28s
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Successful in 35s
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Successful in 43s
Some checks failed
Anatid Blog CI Workflow / test (./backend) (push) Successful in 1m4s
Anatid Blog CI Workflow / test (./frontend) (push) Failing after 28s
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Successful in 35s
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Successful in 43s
This commit is contained in:
parent
2163899234
commit
036e5a9641
@ -5,6 +5,27 @@ on:
|
|||||||
push:
|
push:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- workingdir: ./backend
|
||||||
|
- workingdir: ./frontend
|
||||||
|
steps:
|
||||||
|
- uses: https://github.com/actions/checkout@v4
|
||||||
|
- name: Use Node.js
|
||||||
|
uses: https://github.com/actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: '18.19'
|
||||||
|
- run: npm ci
|
||||||
|
working-directory: ./${{ matrix.workingdir }}
|
||||||
|
- run: npm run lint
|
||||||
|
working-directory: ./${{ matrix.workingdir }}
|
||||||
|
- run: npm run test
|
||||||
|
working-directory: ./${{ matrix.workingdir }}
|
||||||
|
|
||||||
build-and-push-images:
|
build-and-push-images:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user