Skip to content

Merge branch 'master' of github.com:flow-typed/flow-typed into main #187

Merge branch 'master' of github.com:flow-typed/flow-typed into main

Merge branch 'master' of github.com:flow-typed/flow-typed into main #187

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
name: Build Node@${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 'lts/*', 'current' ]
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Before Install
run: |
git config --global user.name "flow-typed CI"
git config --global user.email "noemail@example.com"
- name: Tests
run: ./build.sh
analyze:
name: Analyze ${{ matrix.language }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1