Skip to content

Create package-lock.json #20

Create package-lock.json

Create package-lock.json #20

Workflow file for this run

name: NodeJS with Grunt
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
grunt

Check failure on line 28 in .github/workflows/npm-grunt.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/npm-grunt.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
- name: Setup Python
uses: actions/[email protected]
with:
# Version range or exact version of Python or PyPy to use, using SemVer's version range syntax. Reads from .python-version if unset.
python-version: # optional
# File containing the Python version to use. Example: .python-version
python-version-file: # optional
# Used to specify a package manager for caching in the default directory. Supported values: pip, pipenv, poetry.
cache: # optional
# The target architecture (x86, x64) of the Python or PyPy interpreter.
architecture: # optional
# Set this option if you want the action to check for the latest available version that satisfies the version spec.
check-latest: # optional
# The token used to authenticate when fetching Python distributions from https://github.com/actions/python-versions. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
token: # optional, default is ${{ github.server_url == 'https://github.com' && github.token || '' }}
# Used to specify the path to dependency files. Supports wildcards or a list of file names for caching multiple dependencies.
cache-dependency-path: # optional
# Set this option if you want the action to update environment variables.
update-environment: # optional, default is true
# When 'true', a version range passed to 'python-version' input will match prerelease versions if no GA versions are found. Only 'x.y' version range is supported for CPython.
allow-prereleases: # optional