mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-02 22:37:26 +03:00
Make sure set-homepage script is treated as a commonjs script
This commit is contained in:
parent
8907ea5310
commit
683c049a23
2 changed files with 1 additions and 1 deletions
2
.github/workflows/deploy-preview.yml
vendored
2
.github/workflows/deploy-preview.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
|||
- name: Build
|
||||
run: |
|
||||
npm ci && \
|
||||
node ./scripts/set-homepage.js /shlink-web-client/${GITHUB_HEAD_REF#refs/heads/} && \
|
||||
node ./scripts/set-homepage.cjs /shlink-web-client/${GITHUB_HEAD_REF#refs/heads/} && \
|
||||
npm run build
|
||||
- name: Deploy preview
|
||||
uses: shlinkio/deploy-preview-action@v1.0.1
|
||||
|
|
Loading…
Reference in a new issue