Update node versions #276
This file contains 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] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18, 20, 21] | |
python-version: [3.8] | |
steps: | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install libxml2-utils | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: npm install && npm run build | |
env: | |
MMA_HOME: mma/ | |
- run: npm test | |
env: | |
CI: true | |
MMA_HOME: mma/ |