Skip to content

Commit

Permalink
🚀 Re-enable pre-release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-uk committed Dec 6, 2024
1 parent d300cd4 commit cc9466b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
runs-on: ubuntu-latest
needs: lint-check

# Only run on main branch
## sif: github.ref == 'refs/heads/main'
# Only run on main branch, i.e. when merging PR or pushing to main (v naughty!)
if: github.ref == 'refs/heads/main'

steps:
- uses: actions/checkout@v3
Expand All @@ -54,6 +54,7 @@ jobs:
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

# Prepare a prerelease version based on the commit SHA
- name: NPM install & version
env:
NODE_ENV: production
Expand All @@ -62,7 +63,7 @@ jobs:
npm version prerelease --preid=${GITHUB_SHA:0:7} --no-git-tag-version
git status
- name: Build all bundles
- name: Build both bundles
env:
NODE_ENV: production
run: |
Expand Down

0 comments on commit cc9466b

Please sign in to comment.