Skip to content

Commit

Permalink
Merge pull request #88 from Geode-solutions/fix/CI
Browse files Browse the repository at this point in the history
Fix/ci
  • Loading branch information
JulienChampagnol authored Mar 14, 2024
2 parents 19df032 + 91c5e1d commit f758f00
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/CD.yml → .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
name: Publish Package to npmjs
name: CICD

on:
push:
branches: [next, master]

jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Unit tests
run: |
npm install
npm run test
- uses: actions/checkout@v3
build:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/next' || github.ref == 'refs/heads/master'
steps:
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
id: semantic
Expand Down

0 comments on commit f758f00

Please sign in to comment.