Update README examples #356
This file contains hidden or 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
| name: Audit | |
| on: [push] | |
| jobs: | |
| audit: | |
| name: Audit Project | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '20' | |
| - name: Lib - Install | |
| run: npm i | |
| working-directory: ./keeperapi | |
| env: | |
| NPM_TOKEN: "" | |
| - name: Lib - Build | |
| run: npm run build | |
| working-directory: ./keeperapi | |
| env: | |
| NPM_TOKEN: "" | |
| - name: Lib - Check Types | |
| run: npm run types:ci | |
| working-directory: ./keeperapi | |
| env: | |
| NPM_TOKEN: "" | |
| - name: Lib - Run Unit Tests | |
| run: npm run test | |
| working-directory: ./keeperapi | |
| - name: Examples (node) - Installation | |
| run: npm i | |
| working-directory: ./examples/print-vault-node | |
| - name: Examples (node) - Check Types | |
| run: npm run types:ci | |
| working-directory: ./examples/print-vault-node | |
| - name: Examples (browser) - Installation | |
| run: npm i | |
| working-directory: ./examples/print-vault-browser | |
| - name: Examples (browser) - Check Types | |
| run: npm run types:ci | |
| working-directory: ./examples/print-vault-browser |