mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
25 lines
470 B
YAML
25 lines
470 B
YAML
name: Build
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Lint on node 12.x and ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Use Node.js 12.x
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12.x
|
|
|
|
- name: Install deps and build (with cache)
|
|
uses: bahmutov/npm-install@v1.6.0
|
|
|
|
- name: Lint codebase
|
|
run: yarn ci-check
|