Skip to content

Commit

Permalink
Merge pull request #7 from xponential-asia/fix/release-cicd
Browse files Browse the repository at this point in the history
fix: Add before run npm publish step
  • Loading branch information
pornchaiXpo authored Dec 25, 2024
2 parents 391780a + 2c948cd commit 2e3b724
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
name: Release

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -22,11 +21,12 @@ jobs:
cache: 'yarn'
- name: Install dependencies
run: yarn
- run: yarn build
- run: yarn build # Build step

release:
name: Semantic Release
runs-on: ubuntu-latest
needs: build # This ensures 'release' job waits for 'build' to finish first
strategy:
matrix:
node-version: [20.x]
Expand Down

0 comments on commit 2e3b724

Please sign in to comment.