Skip to content

Commit

Permalink
fix(no-ref): add version for build v5 (#1325)
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Nepipenko <[email protected]>
  • Loading branch information
NepipenkoIgor and igorn-mwp authored Mar 18, 2024
1 parent e8888e7 commit 67d966e
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,29 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20

- name: Build demo
run: |
npm ci --force
git submodule update --init --recursive --remote
npm run build
- name: Semantic Release
id: semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx semantic-release
- name: Build app
- name: Build demo app
env:
RELEASE_VERSION: ${{ steps.semantic-release.outputs.new-release-version }}
run: |
echo '********'
echo "RELEASE_VERSION: $RELEASE_VERSION"
echo '********'
bash .github/workflows/scripts/replace_template.sh $RELEASE_VERSION
npm ci --force
git submodule update --init --recursive --remote
npm run build
- name: Deploy demo
Expand Down

0 comments on commit 67d966e

Please sign in to comment.