feat(v2.0.0): BREAKING CHANGES: updated all FNs to use object parameters, removed deprecated functions, updated tests #159
Workflow file for this run
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: 'Build & Test' | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| # on: | |
| # # pull_request: | |
| # # branches: | |
| # # - "master" | |
| # push: | |
| # branches: | |
| jobs: | |
| build: | |
| name: 'Build & Test' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 'Checkout source code' | |
| uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| registry-url: 'https://registry.npmjs.org/' | |
| cache: 'npm' | |
| - name: Install | |
| run: npm ci --ignore-scripts | |
| - name: Check Build | |
| run: npm run build | |
| - name: Check Lint | |
| run: npm run lint | |
| - name: Test | |
| run: npm run test | |
| env: | |
| API_KEY_COM: ${{ secrets.API_KEY_COM }} | |
| API_SECRET_COM: ${{ secrets.API_SECRET_COM }} | |
| API_PASSPHRASE_COM: ${{ secrets.API_PASSPHRASE_COM }} |