This commit is contained in:
Adria Navarro 2023-11-17 17:29:13 +01:00
parent 1641b5a18e
commit bdc297d4ec
1 changed files with 7 additions and 7 deletions

View File

@ -35,7 +35,7 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18.x node-version: 18.x
cache: ${{ !env.is_oss_contributor && 'yarn' || '' }} cache: ${{ env.is_oss_contributor == false && 'yarn' || '' }}
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- run: yarn lint - run: yarn lint
@ -53,7 +53,7 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18.x node-version: 18.x
cache: ${{ !env.is_oss_contributor && 'yarn' || '' }} cache: ${{ env.is_oss_contributor == false && 'yarn' || '' }}
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
# Run build all the projects # Run build all the projects
@ -83,7 +83,7 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18.x node-version: 18.x
cache: ${{ !env.is_oss_contributor && 'yarn' || '' }} cache: ${{ env.is_oss_contributor == false && 'yarn' || '' }}
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test - name: Test
run: | run: |
@ -112,7 +112,7 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18.x node-version: 18.x
cache: ${{ !env.is_oss_contributor && 'yarn' || '' }} cache: ${{ env.is_oss_contributor == false && 'yarn' || '' }}
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test worker - name: Test worker
run: | run: |
@ -142,7 +142,7 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18.x node-version: 18.x
cache: ${{ !env.is_oss_contributor && 'yarn' || '' }} cache: ${{ env.is_oss_contributor == false && 'yarn' || '' }}
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test server - name: Test server
run: | run: |
@ -173,7 +173,7 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18.x node-version: 18.x
cache: ${{ !env.is_oss_contributor && 'yarn' || '' }} cache: ${{ env.is_oss_contributor == false && 'yarn' || '' }}
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test - name: Test
run: | run: |
@ -196,7 +196,7 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18.x node-version: 18.x
cache: ${{ !env.is_oss_contributor && 'yarn' || '' }} cache: ${{ env.is_oss_contributor == false && 'yarn' || '' }}
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Build packages - name: Build packages
run: yarn build --scope @budibase/server --scope @budibase/worker run: yarn build --scope @budibase/server --scope @budibase/worker