Skip to content

Commit

Permalink
Changed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
syedhasandigi committed Oct 14, 2024
1 parent a2ff680 commit c7d422f
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,16 @@ jobs:
run: npm run depcheck
tests:
name: Run tests
strategy:
fail-fast: false
matrix:
command: ['test']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@master
- uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Use npm latest
run: npm install -g npm@latest
- name: Cache Node.js modules
uses: actions/cache@v4
with:
Expand All @@ -98,16 +100,10 @@ jobs:
${{ runner.OS }}-
- name: Install Packages
run: npm ci
- name: Setup dependencies
run: docker compose -f ./docker-compose-test.yaml up -d
- name: Sleep
uses: kibertoad/wait-action@1.0.1
with:
time: '30s'
- name: Run unit tests
run: npm run test:unit
- name: Run integration tests
run: npm run test
- name: Build
run: npm run build
- name: Run tests
run: npm run ${{ matrix.command }}
check-version:
name: 'Check version'
runs-on: ubuntu-latest
Expand Down

0 comments on commit c7d422f

Please sign in to comment.