Actualiser .github/workflows/ci.yml
Some checks failed
test-ci-simple / test (push) Has been cancelled
Some checks failed
test-ci-simple / test (push) Has been cancelled
This commit is contained in:
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@@ -1,24 +1,14 @@
|
|||||||
name: CI
|
name: test-ci-simple
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- develop
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Just echo
|
||||||
- uses: actions/setup-node@v4
|
run: |
|
||||||
with:
|
echo "Runner OK"
|
||||||
node-version: 20
|
uname -a
|
||||||
cache: 'npm'
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm ci
|
|
||||||
- name: Run unit tests
|
|
||||||
run: npm test -- --runInBand
|
|
||||||
- name: Run e2e tests
|
|
||||||
run: npm run test:e2e -- --runInBand
|
|
||||||
|
|||||||
Reference in New Issue
Block a user