Skip to content

Commit

Permalink
chore: fix tests in CI and update CI (#1152)
Browse files Browse the repository at this point in the history
* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update
  • Loading branch information
meabed authored Oct 29, 2024
1 parent c11be9f commit 3f81d45
Show file tree
Hide file tree
Showing 6 changed files with 148 additions and 137 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Yarn
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
paths:
- 'cli/**'
- 'runtime/**'
- 'yarn.lock'
branches:
- 'master'

Expand Down Expand Up @@ -39,7 +38,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Yarn
run: |
Expand Down
15 changes: 15 additions & 0 deletions demo-apps/build-and-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,18 @@ npx --yes concurrently --no-install --kill-others --success first --names "backe
"cd $my_dir/backend && yarn start" \
"cd $my_dir/next && yarn start" \
"cd $my_dir/next && yarn test"


## testing other packages
# todo fix "example-usage" "try-clients" remote server hasura apps
allPkgs=( "integration-tests" )
for pkg in "${allPkgs[@]}"
do
echo "-----------------------------------"
echo "Building and Testing $pkg"
cd $my_dir/$pkg
yarn install --frozen-lockfile --ignore-scripts
yarn build
yarn gen
yarn test
done
Loading

0 comments on commit 3f81d45

Please sign in to comment.