1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00

Add checkout pro step to budibase-ci

This commit is contained in:
Rory Powell 2022-04-13 21:13:01 +01:00
parent 08edd0e2d8
commit d87714107d
3 changed files with 8 additions and 4 deletions

View file

@ -22,6 +22,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
with:
repository: budibase/budibase-pro
path: './pro'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1

View file

@ -21,8 +21,7 @@
},
"scripts": {
"setup": "node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev",
"bootstrap": "yarn run pre-bootstrap && lerna link && lerna bootstrap",
"pre-bootstrap": "./scripts/link-dependencies.sh",
"bootstrap": "lerna link && lerna bootstrap && ./scripts/link-dependencies.sh",
"build": "lerna run build",
"publishnpm": "yarn build && lerna publish --force-publish",
"release": "lerna publish patch --yes --force-publish",

View file

@ -88,8 +88,8 @@ export = (permType: any, permLevel: any = null, opts = { schema: false }) =>
await builderMiddleware(ctx, permType)
// get the resource roles
let resourceRoles = [],
otherLevelRoles
let resourceRoles: any = []
let otherLevelRoles: any = []
const otherLevel =
permLevel === PermissionLevels.READ
? PermissionLevels.WRITE