Skip to content

Pin dependencies

Pin dependencies #6

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
python-version: [3.10]
steps:
- uses: actions/checkout@v3
- name: Use Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix-python-version }}

Check failure on line 23 in .github/workflows/node.js.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/node.js.yml (Line: 23, Col: 25): Unrecognized named-value: 'matrix-python-version'. Located at position 1 within expression: matrix-python-version
cache: 'pip'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present