Skip to content

refactor: reconstruct skywalking plugin #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,35 @@ jobs:
dapr-version: [1.6.3, 1.7.4, 1.8.3]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Docker
uses: docker-practice/actions-setup-docker@master

- name: Install SkyWalking
run: docker pull apache/skywalking-oap-server:9.2.0

- name: Install Dapr CLI
uses: dapr/setup-dapr@v1
with:
version: '1.8.1'

- name: Initialize Dapr Runtime
run: dapr init -s --runtime-version ${{ matrix.dapr-version }}

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dapr
uses: dapr/setup-dapr@v1
with:
version: '1.8.0'
- name: Install Docker for macOS
uses: docker-practice/actions-setup-docker@master
if: ${{ matrix.platform == 'macos-latest' }}
- name: Install Docker for ubuntu
uses: docker-practice/actions-setup-docker@master
if: ${{ matrix.platform == 'ubuntu-latest' }}
- name: Install skywalking and wait for it start
run: |
docker version
docker pull apache/skywalking-oap-server:8.4.0-es6
docker run -d --name oap -p 12800:12800 -p 11800:11800 apache/skywalking-oap-server:8.4.0-es6
docker ps
sleep 20s
- name: Initialize Dapr
run: dapr init -s --runtime-version ${{ matrix.dapr-version }}
- name: Install dependencies

- name: Install Project Dependencies
run: npm install
- name: Build TypeScript project

- name: Build TypeScript Project
run: npm run build --if-present
- name: Test

- name: Run Tests
run: npm test
Loading