fix: Solve problem with library installation on arm linux #80
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: test | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| test: | |
| name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| node-version: | |
| - 16 | |
| - 18 | |
| - 20 | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - if: contains(matrix.os, 'ubuntu') | |
| run: sudo apt-get install nasm cmake libpng-dev | |
| - if: contains(matrix.os, 'macos') | |
| run: brew install cmake nasm libpng zlib | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm install | |
| - run: npm test |