This commit is contained in:
Adria Navarro 2023-11-17 17:35:26 +01:00
parent bdc297d4ec
commit e78a68fb03
1 changed files with 13 additions and 13 deletions

View File

@ -28,14 +28,14 @@ jobs:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
submodules: ${{ !env.IS_OSS_CONTRIBUTOR }} submodules: ${{ env.IS_OSS_CONTRIBUTOR == false }}
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
- name: Use Node.js 18.x - name: Use Node.js 18.x
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 == false && 'yarn' || '' }} cache: ${{ env.IS_OSS_CONTRIBUTOR == false && 'yarn' || '' }}
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- run: yarn lint - run: yarn lint
@ -45,7 +45,7 @@ jobs:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
submodules: ${{ !env.IS_OSS_CONTRIBUTOR }} submodules: ${{ env.IS_OSS_CONTRIBUTOR == false }}
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
fetch-depth: 0 fetch-depth: 0
@ -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 == false && '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
@ -75,7 +75,7 @@ jobs:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
submodules: ${{ !env.IS_OSS_CONTRIBUTOR }} submodules: ${{ env.IS_OSS_CONTRIBUTOR == false }}
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
fetch-depth: 0 fetch-depth: 0
@ -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 == false && 'yarn' || '' }} cache: ${{ env.IS_OSS_CONTRIBUTOR == false && 'yarn' || '' }}
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test - name: Test
run: | run: |
@ -104,7 +104,7 @@ jobs:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
submodules: ${{ !env.IS_OSS_CONTRIBUTOR }} submodules: ${{ env.IS_OSS_CONTRIBUTOR == false }}
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
fetch-depth: 0 fetch-depth: 0
@ -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 == false && 'yarn' || '' }} cache: ${{ env.IS_OSS_CONTRIBUTOR == false && 'yarn' || '' }}
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test worker - name: Test worker
run: | run: |
@ -134,7 +134,7 @@ jobs:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
submodules: ${{ !env.IS_OSS_CONTRIBUTOR }} submodules: ${{ env.IS_OSS_CONTRIBUTOR == false }}
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
fetch-depth: 0 fetch-depth: 0
@ -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 == false && '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 == false && 'yarn' || '' }} cache: ${{ env.IS_OSS_CONTRIBUTOR == false && 'yarn' || '' }}
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test - name: Test
run: | run: |
@ -189,14 +189,14 @@ jobs:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
submodules: ${{ !env.IS_OSS_CONTRIBUTOR }} submodules: ${{ env.IS_OSS_CONTRIBUTOR == false }}
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
- name: Use Node.js 18.x - name: Use Node.js 18.x
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 == false && '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