Skip to content

test mac CI with python 3.11 #67

test mac CI with python 3.11

test mac CI with python 3.11 #67

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: macos
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Use Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: 3.11 # ${{ matrix.python }}
env:
PYTHON_VERSION: 3.11 # ${{ matrix.python }} # Why do this?

Check failure on line 28 in .github/workflows/macos.yml

View workflow run for this annotation

GitHub Actions / macos

Invalid workflow file

The workflow is not valid. .github/workflows/macos.yml (Line: 28, Col: 11): A mapping was not expected
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm run prepublishOnly
- run: npm install --build-from-source
- run: npm test