Skip to content

Commit

Permalink
added github actions, dependabot and some badges to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
uebelack committed Feb 12, 2024
1 parent 0efec56 commit 5441d87
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: yarn
directory: /
schedule:
interval: weekly
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 18
- 20
- 21
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: yarn install
- name: Lint
run: yarn lint
- name: Test
run: yarn test --coverage
- name: Coveralls
if: matrix.node == '18'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
33 changes: 32 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,39 @@
<div id="top"></div>

[![Build][build-shield]][build-url]
[![Coverage][coverage-shield]][coverage-url]
[![Language][language-shield]][build-url]
[![MIT License][license-shield]][license-url]

<br />
<div align="center">
<h1 align="center">node-app-attest</h1>
<p align="center">
JavaScript implementation of the App Attest protocol for node.js
</p>
</div>

## About

A JavaScript implementation of the App Attest protocol, which checks whether clients connecting to your server are valid instances of your app.


Other implementations:
## Other implementations

* Swift: https://github.com/iansampson/AppAttest
* Kotlin/Java: https://github.com/veehaitch/devicecheck-appattest
* Node: https://github.com/srinivas1729/appattest-checker-node


## License

MIT License. See `LICENSE.txt` for more information.

[build-shield]: https://img.shields.io/github/actions/workflow/status/uebelack/node-app-attest/ci.yml?branch=main&style=for-the-badge
[build-url]: https://github.com/uebelack/node-app-attest/actions/workflows/ci.yml
[language-shield]: https://img.shields.io/github/languages/top/uebelack/node-app-attest.svg?style=for-the-badge
[language-url]: https://github.com/uebelack/node-app-attest
[coverage-shield]: https://img.shields.io/coveralls/github/uebelack/node-app-attest.svg?style=for-the-badge
[coverage-url]: https://coveralls.io/github/uebelack/node-app-attest
[license-shield]: https://img.shields.io/github/license/uebelack/node-app-attest.svg?style=for-the-badge
[license-url]: https://github.com/uebelack/node-app-attest/blob/master/LICENSE.txt

0 comments on commit 5441d87

Please sign in to comment.