Compare commits
3 Commits
test-ci
...
1d3d606bd6
| Author | SHA1 | Date | |
|---|---|---|---|
| 1d3d606bd6 | |||
| baa855c7a1 | |||
| fb0a18cb87 |
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@@ -5,20 +5,30 @@ on:
|
||||
branches:
|
||||
- main
|
||||
- develop
|
||||
- test-ci
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
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