Skip to content
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
51 changes: 0 additions & 51 deletions .github/workflows/ci-javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,57 +155,6 @@ jobs:
- name: Test
run: yarn test:core

Test-Client:
runs-on: ubuntu-latest
needs: CI-WRAP-Test-Harness
if: ${{ always() }}
timeout-minutes: 60
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm

- name: Setup Node.js
uses: actions/setup-node@master
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Install dependencies
run: yarn install --nonInteractive --frozen-lockfile --prefer-offline

- name: Build
run: yarn build

- name: Get updated wrappers
if: ${{ needs.CI-WRAP-Test-Harness.outputs.rebuild_required == 'true' }}
uses: actions/download-artifact@v3
id: get-wrappers
with:
name: rebuilt-wrappers
path: ./wrappers

- if: ${{ needs.CI-WRAP-Test-Harness.outputs.rebuild_required == 'true' }}
run: |
rm -rf packages/test-cases/cases/wrappers
mv wrappers packages/test-cases/cases

- name: Test
run: yarn test:client

Test-Cli:
runs-on: ubuntu-latest
needs: CI-WRAP-Test-Harness
Expand Down
51 changes: 0 additions & 51 deletions .github/workflows/ci-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,57 +59,6 @@ jobs:
CI-WRAP-Test-Harness:
uses: ./.github/workflows/ci-wrap-test-harness.yaml

Test-Cases:
needs: CI-WRAP-Test-Harness
runs-on: ubuntu-latest
if: ${{ always() }}
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm

- name: Setup Node.js
uses: actions/setup-node@master
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Install dependencies
run: yarn install --nonInteractive --frozen-lockfile --prefer-offline

- name: Build
run: yarn build

- name: Get updated wrappers
if: ${{ needs.CI-WRAP-Test-Harness.outputs.rebuild_required == 'true' }}
uses: actions/download-artifact@v3
id: get-wrappers
with:
name: rebuilt-wrappers
path: ./wrappers

- if: ${{ needs.CI-WRAP-Test-Harness.outputs.rebuild_required == 'true' }}
run: |
rm -rf packages/test-cases/cases/wrappers
mv wrappers packages/test-cases/cases

- name: Test
run: yarn test:rust
working-directory: ./packages/js/client

Test-Cli:
runs-on: ubuntu-latest
needs: CI-WRAP-Test-Harness
Expand Down
13 changes: 4 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,15 @@
"reset": "yarn clean && yarn && yarn build",
"clean": "npx rimraf ./**/node_modules ./**/yarn.lock ./**/build ./**/coverage ./**/.polywrap",
"install:test-wrappers": "lerna run generate:wrappers --scope @polywrap/test-cases",
"build": "yarn build:core && yarn build:config && yarn build:core:client && yarn build:client && yarn build:cli && yarn install:test-wrappers",
"build:core": "lerna run build --no-private --ignore @polywrap/*-plugin-js --ignore @polywrap/client-config-builder-js --ignore polywrap --ignore @polywrap/core-client-js --ignore @polywrap/client-js --ignore @polywrap/cli-js",
"build:config": "lerna run build --scope @polywrap/client-config-builder-js",
"build:core:client": "lerna run build --scope @polywrap/core-client-js",
"build:client": "lerna run build --scope @polywrap/client-js",
"build": "yarn build:core && yarn build:cli && yarn install:test-wrappers",
"build:core": "lerna run build --no-private --ignore polywrap --ignore @polywrap/cli-js",
"build:cli": "lerna run build --scope polywrap && lerna run build --scope @polywrap/cli-js",
"build:docs": "lerna run build:docs",
"lint": "lerna run lint",
"lint:fix": "lerna run lint -- --fix",
"lint:ci": "yarn lint",
"test": "lerna run test --no-private --ignore @polywrap/client-js --concurrency 1 && lerna run test --scope @polywrap/client-js",
"test:core": "lerna run test --no-private --ignore @polywrap/*-plugin-js --ignore polywrap* --ignore @polywrap/client-js --concurrency 1",
"test:client": "lerna run test --no-private --scope @polywrap/client-js --concurrency 1",
"test": "lerna run test --no-private --concurrency 1",
"test:core": "lerna run test --no-private --ignore polywrap* --concurrency 1",
"test:cli": "yarn test:cli:unit && yarn test:cli:e2e",
"test:cli:unit": "lerna run test:unit --no-private --scope polywrap --concurrency 1",
"test:cli:e2e:p1": "lerna run test:e2e:p1 --no-private --scope polywrap --concurrency 1",
Expand Down Expand Up @@ -65,4 +61,3 @@
"@types/react-dom": "16.9.0"
}
}

29 changes: 0 additions & 29 deletions packages/js/asyncify/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions packages/js/asyncify/jest.config.js

This file was deleted.

35 changes: 0 additions & 35 deletions packages/js/asyncify/package.json

This file was deleted.

Loading