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: 'Tests: node.js on s390x' | |
| on: [pull_request, push] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| with: | |
| platforms: s390x | |
| - name: Run tests on s390x using Docker | |
| run: | | |
| docker run --rm --platform linux/s390x \ | |
| -v ${{ github.workspace }}:/workspace \ | |
| -w /workspace \ | |
| node:18 \ | |
| bash -c " | |
| apt-get update -q -y && \ | |
| apt-get install -q -y git && \ | |
| npm install && \ | |
| npm run tests-only | |
| " |