Repository navigation
Accept legacy string algorithm submits #318
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: npm test | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| package-manager-cache: false | |
| - name: Scan tracked files for sensitive data | |
| run: node scripts/lint-sensitive-data.js | |
| - name: Install native build dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libboost-date-time-dev libboost-dev libsodium-dev libssl-dev | |
| - name: Install dependencies | |
| run: npm install --no-package-lock | |
| - name: Generate test TLS certificate | |
| run: openssl req -x509 -newkey rsa:2048 -nodes -days 1 -subj "/CN=localhost" -keyout cert.key -out cert.pem | |
| - name: Run tests | |
| run: npm test |