Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Apr 9, 2022
1 parent 1ec1f41 commit 7d263dc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "14.18.3"
cache: "yarn"

- uses: actions/checkout@v3

Expand All @@ -60,6 +59,7 @@ jobs:
with:
path: /home/runner/.cache/Cypress
key: ${{ runner.OS }}-cache-cypress-${{ hashFiles('**/package-lock.json', '.github/workflows/build_and_test.yml') }}
- uses: c-hive/gha-yarn-cache@v2
- name: Cache turbo
id: cache-turbo
uses: actions/cache@v2
Expand Down Expand Up @@ -221,6 +221,7 @@ jobs:
restore-keys: |
${{ runner.os }}-cache-cypress-
${{ runner.os }}-
- uses: c-hive/gha-yarn-cache@v2
- name: Cache turbo
id: cache-turbo
uses: actions/cache@v2
Expand Down Expand Up @@ -327,6 +328,7 @@ jobs:
with:
path: /home/runner/.cache/Cypress
key: ${{ runner.OS }}-cache-cypress-${{ hashFiles('**/package-lock.json', '.github/workflows/build_and_test.yml') }}
- uses: c-hive/gha-yarn-cache@v2
- name: Cache turbo
id: cache-turbo
uses: actions/cache@v2
Expand All @@ -343,7 +345,7 @@ jobs:
run: yarn

- name: Build micro services
run: yarn build --scope=rocketchat-services
run: yarn turbo run build --filter=rocketchat-services

- name: E2E Test API
env:
Expand Down Expand Up @@ -432,6 +434,7 @@ jobs:
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
- uses: c-hive/gha-yarn-cache@v2
- name: Cache turbo
id: cache-turbo
uses: actions/cache@v2
Expand Down Expand Up @@ -463,7 +466,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "14.18.3"
cache: "yarn"

- name: Install Meteor
run: |
Expand Down Expand Up @@ -750,7 +752,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "14.18.3"
cache: "yarn"

- name: Login to DockerHub
uses: docker/login-action@v1
Expand All @@ -769,7 +770,7 @@ jobs:
# first install repo dependencies
yarn
yarn build --scope=rocketchat-services
yarn turbo run build --filter=rocketchat-services
echo "Building Docker image for service: ${{ matrix.service }}:${IMAGE_TAG}"
Expand Down

0 comments on commit 7d263dc

Please sign in to comment.