Merge pull request #85 from j4k0xb/fix/cli-encrypt #174
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: CI | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| test: | |
| name: Node.js ${{ matrix.node-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: | |
| - 20 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| # test project | |
| - run: npm install | |
| - run: npm run prepare | |
| - run: npm test | |
| # test node example | |
| - working-directory: example/node | |
| name: Test Node.js example | |
| run: | | |
| npm install | |
| npm run build | |
| npm test |