Skip to content

ci(workflows): sync central workflows #1228

ci(workflows): sync central workflows

ci(workflows): sync central workflows #1228

Workflow file for this run

name: Code Linting
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:

Check failure on line 15 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
node-version: [14.x, 16.x
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# due to bug in npm we have to add this config
# bugs https://github.com/actions/setup-node/issues/214 https://github.com/npm/cli/issues/2610
- name: Reconfigure git to use HTTP authentication
run: git config --global url."https://github.com/".insteadOf ssh://git@github.com/
- run: npm ci
- run: npm run build --if-present
- run: npm run lint