fix: remove access level settings from npm publishing workflow
Some checks failed
Publish to npm / publish (push) Failing after 23s

This commit is contained in:
Astrian Zheng 2025-02-20 11:23:18 +11:00
parent 1b22a04392
commit c55f5d0bfd
Signed by: Astrian
SSH Key Fingerprint: SHA256:rVnhx3DAKjujCwWE13aDl7uV6+9U1MvydLkNRXJrBiA

View File

@ -28,10 +28,8 @@ jobs:
run: |
if [ "${{ gitea.ref }}" == "refs/heads/main" ]; then
echo "PACKAGE_NAME=datenel-react" >> $GITEA_ENV
echo "ACCESS_LEVEL=public" >> $GITEA_ENV
elif [ "${{ gitea.ref }}" == "refs/heads/dev" ]; then
echo "PACKAGE_NAME=@astrian/datenel-react-dev" >> $GITEA_ENV
echo "ACCESS_LEVEL=restricted" >> $GITEA_ENV
fi
- name: Update package.json for dev releases