Skip to content

Create codeql-analysis.yml #43

Create codeql-analysis.yml

Create codeql-analysis.yml #43

Workflow file for this run

name: build-test
versions-manifest.json

Check failure on line 2 in .github/workflows/build-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-test.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
on:
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Setup node 12
uses: actions/setup-node@v1
with:
node-version: 12.x
- run: npm ci
- run: npm run build
- run: npm run format-check
- run: npm test
- name: Verify no unstaged changes
if: runner.os != 'windows'
run: __tests__/verify-no-unstaged-changes.sh