simondotm / nx-firebase

Firebase plugin for Nx Monorepos
https://www.npmjs.com/package/@simondotm/nx-firebase
MIT License
175 stars 31 forks source link

Default predeploy commands in firebase.app.json do not work in CI environments #12

Closed simondotm closed 3 years ago

simondotm commented 3 years ago
    "predeploy": [
      "nx build app-functions --with-deps",
      "nx lint app-functions"
    ],

Gives nx: not found error in Github CI action. Presumably because CI environment doesnt have nx cli globally installed.

Should likely be:

    "predeploy": [
      "npx nx build app-functions --with-deps",
      "npx nx lint app-functions"
    ],