Skip to content

Commit

Permalink
[mirotalksfu] - improve workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Aug 18, 2024
1 parent 9676366 commit f96f0b7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: build
name: CI

on:
push:
branches:
- main

jobs:
publish:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -15,7 +15,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18.20.4' # LTS
node-version: '18.20.4' # LTS

- name: Install dependencies
run: npm install
Expand All @@ -26,6 +26,13 @@ jobs:
- name: Run unit tests
run: npm test

build:
runs-on: ubuntu-latest
needs: test # This ensures the build job only runs if the test job succeeds
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand Down

0 comments on commit f96f0b7

Please sign in to comment.