Open solrobinson opened 2 years ago
- run: /usr/local/bin/npx firebase-tools@latest experiments:enable webframeworks
Workaround is to add this line just before
- uses: FirebaseExtended/action-hosting-deploy@v0
But would be useful for future to allow for this without having to install the firebase-tools package before it was supposed to be install by FirebaseExtended/action-hosting-deploy@v0
Probably can be changed from "bug" to "enhancement"
FWIW there's also an environment variable means of opting into the experiment. Probably more suitable for the action.
FWIW there's also an environment variable means of opting into the experiment. Probably more suitable for the action.
Specifically (h/t @jamesdaniels) https://github.com/FirebaseExtended/firebase-framework-tools/issues/34#issuecomment-1290573368)
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
# ...
env:
FIREBASE_CLI_EXPERIMENTS: webframeworks
Action config
Error message
Expected behavior
This would kind of be expected behaviour, as it is right to fail as experiments has not been enabled, however, it is impossible to enable experiments, as the firebase-tools package is installed before you can next run a command to enable it.
Actual behavior
Errors