Merge pull request #324 from padloc/feature/ci-tests-v4
Add CI - Run Tests (v4)
This commit is contained in:
commit
889c2c358c
|
@ -0,0 +1,16 @@
|
|||
name: Run Tests
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Run tests
|
||||
run: npm test
|
|
@ -1,5 +1,7 @@
|
|||
# Padloc
|
||||
|
||||
[![](https://github.com/padloc/padloc/workflows/Run%20Tests/badge.svg?branch=v4)](https://github.com/padloc/padloc/actions?workflow=Run+Tests)
|
||||
|
||||
Simple, secure password and data management for individuals and teams (formerly known as Padlock).
|
||||
|
||||
This repo is split into multiple packages:
|
||||
|
|
|
@ -30,4 +30,4 @@
|
|||
"test": "lerna run test",
|
||||
"locale:extract": "lerna run extract --scope '@padloc/locale'"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,6 +35,6 @@ suite("Account", () => {
|
|||
await account.unlock(password);
|
||||
|
||||
assert.equal(bytesToHex(publicKey), bytesToHex(account.publicKey));
|
||||
assert.equal(bytesToHex(privateKey), bytesToHex(account.privateKey));
|
||||
assert.equal(bytesToHex(privateKey as Uint8Array), bytesToHex(account.privateKey as Uint8Array));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue