-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix arch sufix * add setup test in ci * typo * typo * fix script for ci * ci, debug * add check * debug * debug * fix exit code * debug * add token to auth request * typo
- Loading branch information
Showing
2 changed files
with
103 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Zombienet Setup Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
ZOMBIE_TRACE: 1 | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
permissions: {} | ||
|
||
jobs: | ||
setup_test: | ||
strategy: | ||
matrix: | ||
target: [ubuntu-latest, macos-latest] | ||
runs-on: ${{ matrix.target }} | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
- run: npm install && npm update | ||
working-directory: "./javascript" | ||
- run: npm run build | ||
working-directory: "./javascript" | ||
- run: | | ||
JS_DIR=$(pwd) | ||
echo "javascript directory: ${JS_DIR}" | ||
mkdir /tmp/a | ||
cd /tmp/a | ||
DEBUG=zombie-cli::setup node $JS_DIR/packages/cli/dist/cli.js setup -y all | ||
working-directory: "./javascript" | ||
- run: ls -ltr /tmp/a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters