name: CI Test on: push jobs: test: runs-on: ${{ matrix.os }} strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest, macos-latest] steps: - name: Prepare git run: git config --global core.autocrlf false - uses: actions/checkout@v3 # Setup .npmrc file to publish to npm - uses: actions/setup-node@v3 with: node-version: "16.x" registry-url: "https://registry.npmjs.org" - name: Npm install run: npm i - name: Download Compiler run: npm run getBinary - name: Run test run: npm t - name: clone boilerplate run: git clone -b legacy https://github.com/scrypt-sv/boilerplate.git - name: Test boilerplate run: cd boilerplate && npm i ../ && npm t