Try to specify node higher than 18 #2
Workflow file for this run
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 building on latest Ubuntu | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18.x] | |
cxx: [g++-9, g++-10, g++-11, g++-12, g++-13] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Set up C++ compiler (Ubuntu) | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y ${{ matrix.cxx }} | |
echo "CXX=${{ matrix.cxx }}" >> $GITHUB_ENV | |
- name: Install dependencies | |
run: | | |
npm ci | |
npm run build |