mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-05-31 19:26:37 +00:00
Merge pull request #1038 from haadcode/ci-action-run-test
Add a Github Action config for running tests on all branches on push
This commit is contained in:
commit
808af25d52
18
.github/workflows/run-test.yml
vendored
Normal file
18
.github/workflows/run-test.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
name: Run Tests
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 'lts/*'
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Run tests
|
||||
run: npm test
|
Loading…
x
Reference in New Issue
Block a user