mirror of
https://github.com/autismjs/monorepo.git
synced 2026-01-09 00:58:07 -05:00
remove protocol test action because cannot test p2p in gh action
This commit is contained in:
50
.github/workflows/autism-protocol-test.yaml
vendored
50
.github/workflows/autism-protocol-test.yaml
vendored
@@ -1,50 +0,0 @@
|
||||
name: autism-protocol test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
name: Install pnpm
|
||||
with:
|
||||
version: 8
|
||||
run_install: false
|
||||
|
||||
- name: Get pnpm store directory
|
||||
shell: bash
|
||||
run: |
|
||||
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
|
||||
|
||||
- uses: actions/cache@v3
|
||||
name: Setup pnpm cache
|
||||
with:
|
||||
path: ${{ env.STORE_PATH }}
|
||||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pnpm-store-
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
- run: npm run build -w @autismjs/message
|
||||
- run: npm run build -w @autismjs/crypto
|
||||
- run: npm run build -w @autismjs/db
|
||||
|
||||
- name: Test
|
||||
run: npm run test -w @autismjs/protocol
|
||||
@@ -7,5 +7,5 @@ Autism is a decentralized and privacy-first social protocol.
|
||||
| @autismjs/message |  |  |  |  |
|
||||
| @autismjs/db |  |  |  |  |
|
||||
| @autismjs/crypto |  |  |  |  |
|
||||
| @autismjs/protocol |  |  |  |  |
|
||||
| @autismjs/protocol |  |  | local |  |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user