diff --git a/.github/workflows/npm-publish-ce.yml b/.github/workflows/npm-publish-ce.yml index 985b0bf..3d6b87b 100644 --- a/.github/workflows/npm-publish-ce.yml +++ b/.github/workflows/npm-publish-ce.yml @@ -37,12 +37,12 @@ jobs: fi - name: Install dependencies run: yarn install --frozen-lockfile -# - name: Publish package -# run: | -# if [ "$is_next" = "true" ]; then -# yarn publish --tag preview -# else -# yarn publish -# fi -# env: -# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + - name: Publish package + run: | + if [ "$is_next" = "true" ]; then + yarn publish --tag preview + else + yarn publish + fi + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/npm-publish-cloud.yml b/.github/workflows/npm-publish-cloud.yml index ed552cb..4cc481d 100644 --- a/.github/workflows/npm-publish-cloud.yml +++ b/.github/workflows/npm-publish-cloud.yml @@ -37,12 +37,12 @@ jobs: fi - name: Install dependencies run: yarn install --frozen-lockfile -# - name: Publish package -# run: | -# if [ "$is_next" = "true" ]; then -# yarn publish --tag preview -# else -# yarn publish -# fi -# env: -# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + - name: Publish package + run: | + if [ "$is_next" = "true" ]; then + yarn publish --tag preview + else + yarn publish + fi + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file