Skip to content

Commit

Permalink
feat: add test cosmos
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Jul 9, 2024
1 parent dedc77a commit 708c62a
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test-cosmos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Run Tests for Core
on: pull_request

jobs:
test-core:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["18.x"]
steps:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Checkout code
uses: actions/checkout@v4

- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build:core && npm run build:cosmos

- name: Test
timeout-minutes: 15
run: |
npm run test:cosmos

0 comments on commit 708c62a

Please sign in to comment.