Skip to content

Commit

Permalink
server: add --ignore-engines to yarn cmds in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ar committed Jun 18, 2024
1 parent 7798198 commit 0b7b18a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
docker info
- name: Install dependencies
run: cd desci-models && npm i -g yarn && yarn && yarn build && cd ../desci-server && yarn && cd ../desci-repo && yarn
run: cd desci-models && npm i -g yarn && yarn && yarn build && cd ../desci-server && yarn && cd ../desci-repo && yarn --ignore-engines

- name: Stub contract
run: |
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Run tests
run: |
cd desci-server && export DOCKER_BUILDKIT=1 && yarn && yarn test
cd desci-server && export DOCKER_BUILDKIT=1 && yarn --ignore-engines && yarn test
if [ $? -ne 0 ]; then
exit 1
fi
4 changes: 2 additions & 2 deletions .github/workflows/build-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
docker info
- name: Install dependencies
run: cd desci-models && npm i -g yarn && yarn && yarn build && cd ../desci-server && yarn
run: cd desci-models && npm i -g yarn && yarn && yarn build && cd ../desci-server && yarn --ignore-engines

- name: Stub contract
run: |
Expand All @@ -65,7 +65,7 @@ jobs:
- name: Run tests
run: |
cd desci-server && export DOCKER_BUILDKIT=1 && yarn && yarn test
cd desci-server && export DOCKER_BUILDKIT=1 && yarn --ignore-engines && yarn test
echo "exit code $?"
if [ $? -ne 0 ]; then
exit 1
Expand Down

0 comments on commit 0b7b18a

Please sign in to comment.