Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix

Andras Bacsai437f59c9e307
diff --git a/.github/actions/publish/action.yaml b/.github/actions/publish/action.yaml
index 0b0da43bfa..ec6ecc7e70 100644
--- a/.github/actions/publish/action.yaml
+++ b/.github/actions/publish/action.yaml
@@ -1,7 +1,14 @@
+name: 'Release NPM package'
+description: 'Release NPM package'
inputs:
package:
description: 'Package.json location (relative)'
- default: ''
+ default: 'package.json'
+ required: true
+ token:
+ description: 'NPM Token'
+ default: 'null'
+ required: true
runs:
using: "composite"
steps:
@@ -11,9 +18,10 @@ runs:
node-version: 16
- name: Install Dependencies
run: yarn install
+ shell: bash
- uses: JS-DevTools/npm-publish@v1
with:
- token: ${{ secrets.NPM_TOKEN }}
+ token: ${{ inputs.token }}
dry-run: false
check-version: true
access: 'public'
diff --git a/.github/workflows/eslint-config-custom-publish.yml b/.github/workflows/eslint-config-custom-publish.yml
index 0cb4edea42..92e2b95d72 100644
--- a/.github/workflows/eslint-config-custom-publish.yml
+++ b/.github/workflows/eslint-config-custom-publish.yml
@@ -11,4 +11,5 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/publish
with:
- package: './packages/eslint-config-custom/package.json'
\ No newline at end of file
+ package: './packages/eslint-config-custom/package.json'
+ token: $ {{ secrets.NPM_TOKEN }}
\ No newline at end of file