fix: secret expose projective point intead of affine for marshalling #5
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 | |
| on: | |
| pull_request: | |
| push: | |
| branches: [ master ] | |
| tags: | |
| - .* | |
| jobs: | |
| build_test_and_publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: "actions/checkout@v4" | |
| - uses: "actions/setup-node@v3" | |
| with: | |
| node-version: 22.9.0 | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Compile the typescript | |
| run: npm run build | |
| - name: Lint the code | |
| run: npm run lint | |
| - name: Run the tests | |
| run: npm test | |
| - name: Copy relevant documentation into the build folder | |
| run: cp package.json README.md LICENSE-MIT ./dist | |
| - name: Publish to npmjs | |
| uses: JS-DevTools/npm-publish@v1 | |
| if: github.ref == 'refs/heads/master' | |
| with: | |
| token: ${{ secrets.NPM_TOKEN }} | |
| package: package.json | |
| # don't try and deploy if versions haven't changed | |
| check-version: true |