Rewrite the SHA256 class all over again and verify digest integrity &… #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# ci.yml | |
# | |
# Run tests for all pushed commits and opened pull requests on Github. | |
# | |
name: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Set up NodeJS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Git checkout | |
uses: actions/checkout@v2 | |
- name: NPM ci, build, & test | |
run: | | |
npm install | |
npm run build --if-present | |
npm test | |
env: | |
CI: true |